Register escrow terms
register_escrow_termsRecords the latency limit for an escrow job after its createJob transaction confirms, so the oracle knows the SLA to judge. Use it once per job, right after the create_escrow_job transactions. The job is read from the transaction on Base; only its creator's transaction is accepted, and the first registration is kept (calling again does not change it). Writes the terms to AgentSLA's database; moves no funds. Returns jobId and the registered maxLatencyMs. The oracle then settles the job automatically within about 20 minutes (see get_escrow_job).
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": {
"txHash": "<txHash>",
"maxLatencyMs": "<maxLatencyMs>"
},
"name": "register_escrow_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Hash of the confirmed createJob transaction, 0x + 64 hex characters. | |
| maxLatencyMs | Yes | The SLA: the endpoint must answer 2xx/3xx within this many milliseconds, e.g. 1000. |