Complete Agent Delegation
agent_complete_delegationFinalize a pending agent delegation after WalletChan signature approval, verify the signer, and store the signed delegation encrypted in the agent vault.
Instructions
Complete a pending agent delegation after the WalletChan signature request is approved, verify the signer, and store the signed delegation encrypted in the agent vault.
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": {
"delegationId": "<delegationId>"
},
"name": "agent_complete_delegation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | Optional signature request ID. Defaults to the request stored by agent_request_delegation_signature. | |
| signature | No | Optional direct signature override. Normally omit and let WalletChan MCP read the tracked signature request. | |
| delegationId | Yes | Delegation ID returned by agent_prepare_delegation. | |
| pendingActionId | No | Optional pending delegated action to submit after activation. Defaults to the pending action associated with this delegation, when one exists. | |
| submitPendingAction | No | Whether to submit an MCP-created pending agent action after the delegation activates. Defaults to true when a matching pending action exists. |