Skip to main content

Interface: ApiCallOptions

Defined in: index.ts:276

Options for a single apiCall request.

Properties​

body?​

optional body?: unknown

Defined in: index.ts:281

JSON-serialisable request body. Automatically serialised and sent with Content-Type: application/json.


headers?​

optional headers?: Record<string, string>

Defined in: index.ts:288

Additional or override headers for this specific request. These are merged on top of any headers injected from the MCP request context via getApiHeaders, allowing per-call overrides.