getEnabledTools
Retrieves information about enabled tools in full and minimal sets. Use this when a requested tool is unavailable.
Instructions
IMPORTANT: Run this first when a requested tool is unavailable. Returns info about enabled tools in full and minimal sets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tools/postman_tools.py:1791-1824 (handler)The GetEnabledToolsTool class implementing the 'getEnabledTools' tool. The run_tool method returns a hardcoded JSON response indicating all 41 tools are enabled, with category breakdowns.
class GetEnabledToolsTool(ToolHandler): """Get enabled tools""" def __init__(self): super().__init__("getEnabledTools") def get_tool_description(self) -> Tool: return Tool( name=self.name, description="IMPORTANT: Run this first when a requested tool is unavailable. Returns info about enabled tools in full and minimal sets.", inputSchema={ "type": "object", "properties": {}, }, ) async def run_tool(self, args: dict) -> list[TextContent]: enabled_tools = { "message": "All 41 Postman MCP tools are enabled", "full_toolset": ["All 41 tools available"], "minimal_toolset": ["Core read-only tools available"], "total_tools": 41, "categories": { "collections": 7, "requests_responses": 3, "environments": 4, "mocks": 5, "specs": 13, "workspaces": 4, "integration": 3, "other": 2 } } return [TextContent(type="text", text=json.dumps(enabled_tools, indent=2))] - tools/postman_tools.py:1797-1805 (schema)The get_tool_description method defines the input schema (no parameters) and description for the 'getEnabledTools' tool.
def get_tool_description(self) -> Tool: return Tool( name=self.name, description="IMPORTANT: Run this first when a requested tool is unavailable. Returns info about enabled tools in full and minimal sets.", inputSchema={ "type": "object", "properties": {}, }, ) - tools/postman_tools.py:1831-1836 (registration)The register_all_tools() function registers GetEnabledToolsTool() as the second handler in the list of all 41 tools.
def register_all_tools() -> list[ToolHandler]: """Register all Postman tool handlers""" return [ # User Info GetAuthenticatedUserTool(), GetEnabledToolsTool(), - tools/postman_tools.py:40-47 (registration)The register_all_postman_tools() function in postman_server.py imports and registers all handlers from postman_tools into the tool_handlers dict.
request_headers.update(headers) async with httpx.AsyncClient(timeout=30.0) as client: try: response = await client.request( method=method, url=url, json=body,