Save the metrics file
save_metricsReplace a project's metrics file with text, keeping everything else.
Checked first against the project's model; a file with errors is not
saved, and the errors come back instead. Says which metrics were added
and removed. Next: `metric_values` to see their numbers, then the
dashboard tools. Needs a key with save access.
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": {
"project_id": "<project_id>",
"text": "<text>"
},
"name": "save_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |