Tool values and pass them through DefineTool(...). Tools can include:
- JSON
Parametersshown to the model InputSchema,OutputSchema, andEventSchemavalidators- a
TimeoutandExecute(input, RuntimeContext)function - unconditional
RequireApprovalor a conditionalApprovalpredicate OnToolCalledandOnResponseReceivedfor interactive workNextTurnoverrides andOnError: "return-to-model"
RuntimeContext.EmitProgress, SetContext, and the supplied context.Context. ToolExecutionConfig{Concurrency: ...} runs independent tools concurrently while preserving tool-result order.