update_metric_for_week
Post or update a metric score for a specified week using a measurable ID and week ID. Retrieve week IDs with get_score_history before setting the numeric value.
Instructions
Post or update a metric score for a specific week. Provide the measurable ID and week ID. Use get_score_history to find week IDs.
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": {
"measurable_id": "<measurable_id>",
"week_id": "<week_id>",
"value": "<value>"
},
"name": "update_metric_for_week"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note | |
| value | Yes | The numeric value to set | |
| week_id | Yes | The week ID | |
| measurable_id | Yes | The measurable ID |