Home / Servers / PagerDuty API / create_enrichment_schema
Create an enrichment schema
An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.
Create an enrichment schema Creates an enrichment schema. Provide a JSON body to define the schema explicitly (returns 201), or upload a CSV file as multipart/form-data or text/csv to auto-generate a schema from the file's… [POST /enrichment/schemas]
Name on the gateway: pagerduty_api__create_enrichment_schema · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
filename | string | The filename for the CSV content. Required when creating a schema from a… |
integration_type | CSV | The schema source. Only CSV is supported through the API; the schema is always… |
name required | string | Display name of the enrichment schema. |
description | string | Description of this set of enrichment data. |
fields required | array | The schema fields. Must include 1-3 query fields and at least one enriched… |
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_enrichment_schema",
"arguments": {
"name": "…",
"fields": []
}
}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 an enrichment schema tool with filename set to ….