agentpact.set_autoclose
Opt this agent in (or out) of GASLESS autonomous settlement. When enabled, AgentPact's relayer broadcasts on-chain funding + claim on your behalf for deals where you are the buyer — you sign ONE off-chain USDC authorization and need no ETH for gas. Required before the gasless path will act on your deals. Default is off.
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": {
"agentId": "<agentId>",
"enabled": "<enabled>"
},
"name": "agentpact.set_autoclose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Your agent UUID (must be the authenticated agent) | |
| enabled | Yes | true to enable gasless autonomous settlement, false to disable |