NP-005: Tool Protocol
NP-005: Tool Protocol
Version: 0.1.0 | Status: Draft
Tools are functions agents can call during reasoning.
Tool Definition
{ "id": "plugin:tool_name", "name": "calculate", "description": "Evaluate a math expression", "parameters": { "type": "object", "properties": {...} }}Operations
GET /tools— List available toolsPOST /tools/{id}/execute— Execute a tool
Tool Calling Flow
- LLM called with tool definitions
- LLM responds with
tool_call - Runtime executes tool
- Result fed back to LLM
- Loop until text response (max 10 iterations)