Submit input with permit
submit_inputSubmit a signed input to advance a deployed agreement's on-chain lifecycle. Provide a permit signature and values matching the agreement's input schema.
Instructions
Submits a signed input to a deployed agreement, advancing its on-chain lifecycle. The input ID and values must match an input defined by the agreement JSON, and the signer must be allowed by that input. Provide a pre-signed permit (signer, deadline, signature), or call prepare_input_typed_data first. Requires the agreements.write scope.
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": {
"agreementId": "<agreementId>",
"inputId": "<inputId>",
"values": "<values>"
},
"name": "submit_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signer | No | Wallet address (0x...) that signed the permit. | |
| values | Yes | Values matching the input schema defined by the agreement JSON. | |
| inputId | Yes | Input ID defined by the agreement JSON (execution.inputs). | |
| deadline | No | Permit deadline in unix seconds. Must match the signed payload. | |
| signatureR | No | Permit signature r component (0x... 32 bytes). | |
| signatureS | No | Permit signature s component (0x... 32 bytes). | |
| signatureV | No | Permit signature v component (27 or 28). | |
| agreementId | Yes | Agreement record ID of a deployed agreement. |