Make a quick-add button
create_templateMake a quick-add button in the Kove app that logs these values with one tap. It logs nothing now.
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": {
"idempotency_key": "<idempotency_key>",
"name": "<name>",
"values": "<values>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The button's label: "Morning coffee". | |
| emoji | No | ||
| values | Yes | Field name to the value one tap logs, in the person's units: {"Coffee": 1, "Calories": 5}. | |
| idempotency_key | Yes | A new random string per write (8-128 of A-Z a-z 0-9 - _ . :); send the same one to retry, never a new one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| written | Yes | ||
| replayed | No | ||
| write_id | No |