get_tool_documentation
Retrieve detailed documentation for Azure DevOps tools including parameters and examples to understand functionality and usage requirements.
Instructions
Gets detailed documentation for a specific tool including parameters and examples.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | The name of the tool to get documentation for. |
Implementation Reference
- mcp_azure_devops/server.py:1091-1102 (handler)The core handler function that executes the 'get_tool_documentation' tool logic by finding the matching tool in self.tools and returning its metadata.def _get_tool_documentation(self, tool_name: str) -> Dict[str, Any]: """Get documentation for a specific tool.""" tool = next((t for t in self.tools if t.name == tool_name), None) if tool: return { "name": tool.name, "description": tool.description, "inputSchema": tool.inputSchema, } else: return {"error": f"Tool '{tool_name}' not found."}
- mcp_azure_devops/server.py:563-577 (registration)Registers the 'get_tool_documentation' tool with the MCP server via the self.tools list, which is returned by list_tools() handler.types.Tool( name="get_tool_documentation", description="Gets detailed documentation for a specific tool including parameters and examples.", inputSchema={ "type": "object", "properties": { "tool_name": { "type": "string", "description": "The name of the tool to get documentation for." }, }, "required": ["tool_name"], "additionalProperties": False } ),
- mcp_azure_devops/server.py:566-575 (schema)Defines the input schema for the 'get_tool_documentation' tool, requiring a 'tool_name' string parameter.inputSchema={ "type": "object", "properties": { "tool_name": { "type": "string", "description": "The name of the tool to get documentation for." }, }, "required": ["tool_name"], "additionalProperties": False
- mcp_azure_devops/server.py:899-900 (helper)Tool dispatch logic in _execute_tool method that routes 'get_tool_documentation' calls to the handler.elif name == "get_tool_documentation": return self._get_tool_documentation(arguments.get("tool_name"))