startTool(Defined in: src/genai/api.ts:110 Start a Tool span. Parent resolution (matches the design’s “flat by default, hierarchical if you nest”):opts):Tool
- If an LLM is active, the Tool nests under it.
- Otherwise, the Tool is a sibling under the current Turn.
Parameters
opts
ToolInit
Returns
Tool