record promise
record_promiseSaves a learner-facing promise only after owner approval, marking LOCKED as established; require expectedRevision for existing entries and leave identical retries unchanged.
Instructions
Save a learner-facing promise only after the owner approves it. LOCKED means the promise is established. An existing locked promise cannot be changed here; the owner revises it with revise_approved_fact. Existing entries require expectedRevision from retrieval. Identical retries leave history unchanged.
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": {
"programId": "<programId>",
"title": "<title>",
"status": "<status>",
"content": "<content>"
},
"name": "record_promise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | Yes | ||
| status | Yes | ||
| content | Yes | ||
| programId | Yes | ||
| revisionReason | No | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |