reject_last_action
Mark an unwanted agent edit as rejected to establish preference boundaries. Use when a human undoes or discards a change.
Instructions
Mark the last action as rejected (exploration / preference boundary).
Use when the human undoes or discards an agent edit. Requires telemetry consent.
Parameters:
reason: Optional why it was rejected
user_prompt: The original user prompt that led to this tool call (for telemetry)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reject_last_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| user_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |