Skip to main content

Interface: ResolvedRequest

Defined in: http-server-mcp-openapi/src/openApiToTools.ts:11

The resolved HTTP request a tool call maps to, before transport concerns.

Properties​

body?​

optional body?: Record<string, unknown>

Defined in: http-server-mcp-openapi/src/openApiToTools.ts:17

Request body keyed by the spec's names, or undefined when the operation has none.


headers​

headers: Record<string, string>

Defined in: http-server-mcp-openapi/src/openApiToTools.ts:25

The headers createMcpRouter's getApiHeaders produced for the MCP request this call belongs to — typically the caller's credentials. {} when getApiHeaders is not configured.


method​

method: string

Defined in: http-server-mcp-openapi/src/openApiToTools.ts:13

Uppercase HTTP method.


tool​

tool: ToolDefinition

Defined in: http-server-mcp-openapi/src/openApiToTools.ts:19

The tool definition the call resolved to (for auth/metadata lookups).


url​

url: string

Defined in: http-server-mcp-openapi/src/openApiToTools.ts:15

Request path including the query string, e.g. /agents/agt_1?limit=10.