get_destination_info
Retrieve detailed configuration and specifications for a destination connector by providing its unique identifier.
Instructions
Get detailed information about a specific destination connector.
Args:
destination_id: ID of the destination connector to get information for
Returns:
String containing the destination connector information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destination_id | Yes |
Implementation Reference
- uns_mcp/server.py:224-248 (handler)The main handler function for the 'get_destination_info' tool. It is decorated with @mcp.tool() for registration and implements the logic to fetch and format destination connector information using the UnstructuredClient API.@mcp.tool() async def get_destination_info(ctx: Context, destination_id: str) -> str: """Get detailed information about a specific destination connector. Args: destination_id: ID of the destination connector to get information for Returns: String containing the destination connector information """ client = ctx.request_context.lifespan_context.client response = await client.destinations.get_destination_async( request=GetDestinationRequest(destination_id=destination_id), ) info = response.destination_connector_information result = ["Destination Connector Information:"] result.append(f"Name: {info.name}") result.append("Configuration:") for key, value in info.config: result.append(f" {key}: {value}") return "\n".join(result)