Skip to main content

Interface: ApiCallOptions

Defined in: index.ts:18

Options for a single apiCall request.

Properties

body?

optional body?: unknown

Defined in: index.ts:23

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


headers?

optional headers?: Record<string, string>

Defined in: index.ts:30

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.