Skip to main content

Module tool

Module tool 

Source
Expand description

The Tool trait — every MCP tool exposed by Boost implements this.

Tools own their input schema (for client-side validation in the AI agent), their name, and an async handler that receives the parsed JSON arguments and the shared Context (Application + DB pool).

Structs§

Context
Per-server shared state passed into every tool invocation.

Traits§

Tool