Skip to content

Interface: McpToolDefinition

Makaio Framework


Makaio Framework / tools-core / McpToolDefinition

Defined in: ../../../tools/core/src/export.ts:12

MCP (Model Context Protocol) tool definition.

https://spec.modelcontextprotocol.io/specification/server/tools/

optional annotations?: object

Defined in: ../../../tools/core/src/export.ts:26

Optional annotations providing hints about tool behavior. MCP clients may use these to optimize tool usage.

optional destructive?: boolean

Tool may permanently delete or modify data

optional idempotent?: boolean

Calling the tool multiple times with same input has same effect

optional openWorldHint?: boolean

Execution may take a long time

optional readOnly?: boolean

Tool only reads data, doesn’t modify anything


description: string

Defined in: ../../../tools/core/src/export.ts:17

Human-readable description


inputSchema: JSONSchema

Defined in: ../../../tools/core/src/export.ts:20

JSON Schema for input parameters


name: string

Defined in: ../../../tools/core/src/export.ts:14

Tool name (unique identifier)