Home / Servers / PagerDuty API / upload_enrichment_csv

Upload CSV records

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

Upload CSV records Uploads a CSV file of enrichment records into an existing schema, as multipart/form-data or text/csv. The file is accepted for asynchronous processing (returns 202) and is limited to 10 MB. The CSV… [POST /enrichment/schemas/{schema_id}/records]

Name on the gateway: pagerduty_api__upload_enrichment_csv · may change things.

Parameters

NameTypeDescription
schema_id requiredstringThe ID of the enrichment schema.
filenamestringThe filename for the CSV content. Required when creating a schema from a…
file requiredstringThe CSV file to upload (max 10 MB).

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__upload_enrichment_csv",
  "arguments": {
    "schema_id": "…",
    "file": "…"
  }
}

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 upload csv records tool with schema_id set to ….

More from PagerDuty API