Home / Servers / PagerDuty API / create_service_custom_field_option
Create a Field Option
An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.
Create a Field Option Create a new option for the given field. Scoped OAuth requires: custom_fields.write [POST /services/custom_fields/{field_id}/field_options]
Name on the gateway: pagerduty_api__create_service_custom_field_option · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
field_id required | string | The ID of the field. |
field_option required | object | An option for a custom field. Can only be applied to fields with a field_type… |
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:
{
"name": "pagerduty_api__create_service_custom_field_option",
"arguments": {
"field_id": "…",
"field_option": "…"
}
}Or connect the PagerDuty API server directly, which lists 459 tools including this one:
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 create a field option tool with field_id set to ….