OptionaldurationOptionalerrorError message if status is 'error'
OptionalinputInput data
OptionalmetadataCustom metadata
Span name (e.g., 'pinecone-search', 'cohere-rerank')
OptionaloutputOutput data
OptionalstatusStatus
OptionaltoolTool call ID (links this tool span to the LLM that requested it)
Span type
Duration in milliseconds (optional, will be set automatically if not provided)