list_available_tools
Discover all tools currently accessible in the MCP tool builder server to understand available functionality and capabilities.
Instructions
List all currently available tools
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_available_tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Handler function for executing the 'list_available_tools' tool. It iterates over self.tools_config to create a formatted list of available tools and returns it as text content.
elif name == "list_available_tools": tools_list = "\n".join([ f"- {tool['name']}: {tool.get('description', 'No description')}" for tool in self.tools_config ]) return [types.TextContent( type="text", text=f"Available tools:\n{tools_list}" )] - src/mcp_tool_builder/tool_builder_server.py:63-71 (registration)Registration of the 'list_available_tools' tool within the handle_list_tools function. Defines the tool name, description, and empty input schema.
types.Tool( name="list_available_tools", description="List all currently available tools", inputSchema={ "type": "object", "properties": {}, "required": [] } ), - Input schema for the 'list_available_tools' tool, which requires no parameters.
inputSchema={ "type": "object", "properties": {}, "required": [] }