get_business_unit
Retrieve detailed information about a specific business unit by providing its ID. Integrates with the SD Elements MCP Server to support security development lifecycle processes.
Instructions
Get detailed information about a specific business unit
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| business_unit_id | Yes | The ID of the business unit to retrieve |
Implementation Reference
- The handler function for the 'get_business_unit' MCP tool. It is decorated with @mcp.tool() which registers it. The function retrieves business unit details via an API client and returns them as JSON.@mcp.tool() async def get_business_unit(ctx: Context, business_unit_id: int) -> str: """Get details of a specific business unit""" global api_client if api_client is None: api_client = init_api_client() result = api_client.get_business_unit(business_unit_id) return json.dumps(result, indent=2)