lookup_connection
Retrieve a DCM Connection referenced in workflows by providing its ID, enabling efficient management and integration of data connections within the AYX-MCP-Wrapper server.
Instructions
Lookup a DCM Connection as referenced in workflows
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |
Implementation Reference
- src/tools.py:723-729 (handler)The core implementation of the lookup_connection tool handler, which calls the DCM API to lookup the connection and formats the response.def lookup_connection(self, connection_id: str): """Lookup a DCM Connection as referenced in workflows""" try: api_response = self.dcm_api.d_cme_lookup_dcm_connection(connection_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
- src/mcp_server.py:346-349 (registration)MCP tool registration for lookup_connection, which delegates to the tools instance.@self.app.tool() def lookup_connection(connection_id: str): """Lookup a DCM Connection as referenced in workflows""" return self.tools.lookup_connection(connection_id)