Example Tool
example_tool Read-only
Module: Droost ExamplesThe reference implementation the scaffolder generates (`drush droost:scaffold mcp-tool`): the #[Tool] attribute, the DroostToolBase envelope, and a create() factory — copy its shape for your own tools.
Example call
{
"tool": "example_tool",
"arguments": {}
}
Example response — captured live on this site
{
"success": true,
"message": "Example Tool ran.",
"data": []
}
A read-only example MCP tool.
Input schema (JSON Schema)
{
"type": "object"
}
Droost