handoff_reject
Reject a claimed or open handoff to mark it rejected, record an optional reason, and notify the creator.
Instructions
Reject a handoff (owner CLAIMED->REJECTED or direct-target OPEN->REJECTED). In trust_mode=strict pass session_id + session_secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Human-readable reason (optional) persisted on the handoff, recorded with the rejection, and delivered to the creator inbox. | |
| agent_id | Yes | Your agent_id (the worker); scopes visibility/eligibility and ownership. REQUIRED. | |
| handoff_id | Yes | The handoff_id to act on. REQUIRED. | |
| session_id | No | Your session_id from session_open (optional in trust_mode=open; REQUIRED together with session_secret in trust_mode=strict). | |
| project_root | Yes | Absolute path to the project (defines the workspace scope). | |
| session_secret | No | session_secret from session_open for session_id (optional in open mode but VALIDATED if supplied; REQUIRED in strict mode). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||