get_application
Retrieve detailed information about a specific application using its ID, including optional fields and expansions for comprehensive insights.
Instructions
Get detailed information about a specific application
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| application_id | Yes | The ID of the application to retrieve | |
| expand | No | Fields to expand (comma-separated) | |
| include | No | Additional fields to include (comma-separated) |
Implementation Reference
- The core handler function implementing the 'get_application' tool logic. Decorated with @mcp.tool() for automatic registration and schema inference in the FastMCP framework. Fetches application data via API client and returns JSON.@mcp.tool() async def get_application(ctx: Context, application_id: int, page_size: Optional[int] = None, include: Optional[str] = None, expand: Optional[str] = None) -> str: """Get details of a specific application""" global api_client if api_client is None: api_client = init_api_client() params = build_params({"page_size": page_size, "include": include, "expand": expand}) result = api_client.get_application(application_id, params) return json.dumps(result, indent=2)
- src/sde_mcp_server/server.py:296-296 (registration)Import of the tools package in the main server file, which cascades to import and register all tools including get_application.from . import tools # noqa: F401