send_log
Send log records with body, severity, attributes, and timestamps to OpenTelemetry endpoints for monitoring and analysis.
Instructions
Send one or more log records.
Each record dict accepts: body, severity (trace/debug/info/warn/
error/fatal), severity_text, attributes, timestamp_ns.
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>",
"records": "<records>"
},
"name": "send_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | ||
| records | Yes | ||
| resource_attributes | No | ||
| endpoints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||