Context passed to a Toolset's setup hook when it activates.
setup
Replace the toolset's tools. Useful for dynamic sources (e.g. an MCP server) whose tools are discovered after setup or change at runtime. Await the result to wait for tool changes to reach the active session.
Context passed to a Toolset's
setuphook when it activates.