application_info
Retrieve comprehensive details for a specific candidate application using its unique ID to support hiring decisions and pipeline management.
Instructions
Get full details for a single application by ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| applicationId | Yes | The application ID (UUID) |
Implementation Reference
- src/ashby/server.py:407-433 (handler)The handle_call_tool function is the handler that dynamically routes tool calls to Ashby API endpoints using the TOOL_ENDPOINT_MAP. This handles the 'application_info' tool by mapping it to '/application.info' and posting the request.
@server.call_tool() async def handle_call_tool(name: str, arguments: dict[str, Any]) -> list[types.TextContent]: """Route tool calls to the correct Ashby endpoint, passing arguments directly.""" endpoint = TOOL_ENDPOINT_MAP.get(name) if not endpoint: return [types.TextContent(type="text", text=f"Unknown tool: {name}")] try: # Pass arguments straight through -- tool schemas already use Ashby's # camelCase param names so no translation is needed. response = ashby.post(endpoint, data=arguments if arguments else None) return [types.TextContent(type="text", text=json.dumps(response, indent=2))] except requests.exceptions.HTTPError as e: error_body = "" if e.response is not None: try: error_body = e.response.text except Exception: pass return [ types.TextContent( type="text", text=f"Ashby API error on {endpoint}: {e}\n{error_body}", ) ] except Exception as e: return [types.TextContent(type="text", text=f"Error calling {endpoint}: {e}")] - src/ashby/server.py:235-245 (registration)The tool 'application_info' is registered within the TOOLS list, which provides the name, description, and input schema for the tool.
types.Tool( name="application_info", description="Get full details for a single application by ID.", inputSchema={ "type": "object", "properties": { "applicationId": {"type": "string", "description": "The application ID (UUID)"}, }, "required": ["applicationId"], }, ), - src/ashby/server.py:387-387 (registration)The tool 'application_info' is mapped to the API endpoint '/application.info' in the TOOL_ENDPOINT_MAP.
"application_info": "/application.info",