Get a commitment's lifecycle state
get_commitment_statusReturns only the current lifecycle state for a given commitment ID, plus the recommended next action for the calling agent. Call this before retrying any commitment that timed out — an unknown outcome is a status check, not another POST. The next_action field tells the agent whether to retry, poll, or stop. For the full commitment record, use get_commitment.
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": {
"commitmentId": "<commitmentId>"
},
"name": "get_commitment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commitmentId | Yes | The commitment id to poll for its lifecycle state |