get_execution
Retrieve personalized union execution details for a specific project and domain to support workflow integration and task management.
Instructions
Get personalized union execution.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| name | Yes | ||
| project | Yes |
Implementation Reference
- union_mcp/v1/server.py:108-115 (handler)The core handler function for the MCP tool 'get_execution'. It is registered via the @mcp.tool() decorator. Fetches the execution details from UnionRemote and serializes to JSON using resources.proto_to_json.@mcp.tool() @require_auth def get_execution(name: str, project: str, domain: str, ctx: Context) -> dict: """Get union execution.""" print(f"Getting execution {name} in project {project} and domain {domain}") remote = _remote(project, domain) execution = remote.fetch_execution(name=name, project=project, domain=domain) return resources.proto_to_json(execution.to_flyte_idl())