Skip to content

Operation

Defined in: packages/mcp-query/src/core/interceptors.ts:12

optional args?: Record<string, unknown>

Defined in: packages/mcp-query/src/core/interceptors.ts:18

Tool arguments (call/query); undefined for reads. Mutable.


optional context?: CallContext

Defined in: packages/mcp-query/src/core/interceptors.ts:22

Per-call context (partition + meta/principal). Mutable.


optional def?: object

Defined in: packages/mcp-query/src/core/interceptors.ts:20

The resolved tool definition (call/query) — read annotations (destructive/read-only) here.

optional _meta?: object

[key: string]: unknown

optional annotations?: object

optional destructiveHint?: boolean

optional idempotentHint?: boolean

optional openWorldHint?: boolean

optional readOnlyHint?: boolean

optional title?: string

optional description?: string

optional execution?: object

optional taskSupport?: "optional" | "required" | "forbidden"

optional icons?: object[]

inputSchema: object

[key: string]: unknown

optional properties?: object

[key: string]: object

optional required?: string[]

type: "object"

name: string

optional outputSchema?: object

[key: string]: unknown

optional properties?: object

[key: string]: object

optional required?: string[]

type: "object"

optional title?: string


kind: OperationKind

Defined in: packages/mcp-query/src/core/interceptors.ts:13


server: string

Defined in: packages/mcp-query/src/core/interceptors.ts:14


readonly state: Record<string, unknown>

Defined in: packages/mcp-query/src/core/interceptors.ts:24

Scratch bag for interceptors to thread data down the chain (e.g. a span, start time).


target: string

Defined in: packages/mcp-query/src/core/interceptors.ts:16

Resource URI (read) or tool name (call/query).