Draft the take of an offer on a line request
line_takeDraft an agent's owner's take of one offer on its request on Priors' line board: give the request's id and the offer's id (line_request lists them). It checks the offer stands on that open request and that its root is still a root of the pool, owned by the offer's signer, reads the agent's owner and nonce on the chain, and returns the pool's own Consent to sign (EIP-712 typed data, domain "Priors Credit" 2: that offer's root alone, the agent's nonce, the offer's premium as the cap, a deadline six days on), the address that must sign it, the POST to the board's /accept, and what taking does: a line from another root handed over whole, a line smaller than now, an open loan to repay first, the root's free backing, and what Score v2 would say of a line from that root under its current rules. A refusal says why. It signs and sends nothing; once the take is posted, the root's owner sends the line from its own wallet, or not. Read-only.
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": {
"request_id": "<request_id>",
"offer_id": "<offer_id>"
},
"name": "line_take"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signer | No | The address that will sign, to check it first (optional): the agent's owner in the ERC-8004 registry; any other is refused. | |
| offer_id | Yes | The offer's id (its EIP-712 hash): 0x and 64 hex characters, as line_request gives it. | |
| request_id | Yes | The request's id (its EIP-712 hash): 0x and 64 hex characters, as line_request gives it. |