# tools/registry/v2.py — versioned alongside implementation TOOL_REGISTRY = { "search_entities": { "version": "2.0.0", "description": ( "Search the entity registry by name and type. " "Returns matching entities with confidence scores. " "entity_type must be one of: company, person, location." ), "input_schema": { "type": "object", "properties": { "query": {"type": "string"}, "entity_type": { "type": "string", "enum": ["company", "person", "location"] } }, "required": ["query", "entity_type"] }, "response_schema": { "type": "array", "items": { "type": "object", "required": ["entity_id", "name", "entity_type", "confidence"] } } } }