send_trace
Send OpenTelemetry trace spans to OTLP endpoints for monitoring and debugging distributed systems. Specify service name, spans with attributes, and target endpoints.
Instructions
Send one or more spans to the targeted endpoints.
Each span dict accepts: name, kind (internal/server/client/producer/
consumer), attributes, duration_ms, status (ok/error/unset),
status_message, events (list of {name, attributes}),
parent_name (to nest spans within the same batch).
If endpoints is omitted, fans out to every endpoint that accepts traces.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service_name": "<service_name>",
"spans": "<spans>"
},
"name": "send_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | ||
| spans | Yes | ||
| resource_attributes | No | ||
| endpoints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||