Check whether an action has already been done
ratchet_get_effectCheck whether an action has been recorded by effect type and idempotency key, without consuming a lease or plan allowance. Use it to confirm if a prior operation succeeded after a crash or when asked.
Instructions
Look up the recorded state of an action WITHOUT reserving a lease and without consuming your plan allowance. Use it to answer "did I already do this?" — for example when resuming after a crash, or when a user asks whether something went through. To actually perform work, use ratchet_begin_effect instead; this tool never grants permission.
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": {
"effect_type": "<effect_type>",
"idempotency_key": "<idempotency_key>"
},
"name": "ratchet_get_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect_type | Yes | Namespaced kind of side effect, e.g. "email.send", "payment.charge", "github.pr.create". Policy is configured per type. | |
| idempotency_key | Yes |