Skip to main content
This example combines both MCP execution styles:
  • Workflow-owned tool call in dynamic for deterministic fetch.
  • Model-owned MCP capabilities in uses for agent reasoning context.
If you are new to MCP in Superwire, read MCP and Tools Overview first.
Why this pattern works:
  • call tool.fetch_task guarantees task data exists before agent execution.
  • uses gives the agent scoped access to only the prompt/resource/tool it needs.
  • The final output stays typed and stable for application consumers.