Home / Servers / PagerDuty API / create_incident_type_custom_field

Create a Custom Field for an Incident Type

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

Create a Custom Field for an Incident Type Custom Fields (CF) are a feature which will allow customers to extend Incidents with their own custom data, to provide additional context and support features such as customized filtering, search… [POST /incidents/types/{type_id_or_name}/custom_fields]

Name on the gateway: pagerduty_api__create_incident_type_custom_field · may change things.

Parameters

NameTypeDescription
type_id_or_name requiredstringThe ID or name of the Incident Type.
field requiredobjectDetails of the custom field to be created.

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__create_incident_type_custom_field",
  "arguments": {
    "type_id_or_name": "…",
    "field": "…"
  }
}

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 create a custom field for an incident type tool with type_id_or_name set to ….

More from PagerDuty API