Home / Servers / PagerDuty API / get_service_custom_field_option

Get a Field Option

An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.

Get a Field Option for a given field. Scoped OAuth requires: custom_fields.read [GET /services/custom_fields/{field_id}/field_options/{field_option_id}]

Name on the gateway: pagerduty_api__get_service_custom_field_option · read-only.

Parameters

NameTypeDescription
field_id requiredstringThe ID of the field.
field_option_id requiredstringThe ID of the field option.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "pagerduty_api__get_service_custom_field_option",
  "arguments": {
    "field_id": "…",
    "field_option_id": "…"
  }
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

Run in your terminal
claude mcp add --transport http hj-pagerduty-api https://mcp.hjlabs.in/mcp/pagerduty-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get a field option tool with field_id set to ….

More from PagerDuty API