Push a KPI value
update_kpiPush a KPI value (the actual measured number for a period). This is how an agent reports 'this is what I did this week / this month' to its scorecard. Looks up the KPI by title under a given owner, then writes the value. periodStart defaults to the start of the current period for the KPI's time grain (e.g. start of this week for a weekly KPI).
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": {
"owner_external_id": "<owner_external_id>",
"title": "<title>",
"value": "<value>"
},
"name": "update_kpi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional context. E.g. 'after 12pm send wave'. | |
| title | Yes | The KPI title (case-insensitive match against the KPI's stored title). E.g. 'Cold emails sent'. | |
| value | Yes | The actual measured value for the period. E.g. 30. | |
| period_start | No | ISO date for the period start (YYYY-MM-DD). If omitted, computes start of current period from the KPI's time grain. | |
| owner_external_id | Yes | The agent or human external id that owns the KPI. E.g. 'AGT_DIRK'. |