read_live_logs
Retrieve live algorithm logs by specifying project ID, algorithm ID, and line range. Log snapshots update every 5 minutes.
Instructions
Get the logs of a live algorithm.
The snapshot updates about every 5 minutes.
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": {
"model": "<model>"
},
"name": "read_live_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | No | List of logs from the live algorithm. | |
| length | No | Total amount of rows in the logs across all live deployments for this project. | |
| deploymentOffset | No | Number of log rows before the given deployment (the `algorithmId` in the request). | |
| success | No | Indicate if the API request was successful. | |
| errors | No | List of errors with the API call. |