accept_forest_offer
Post a forest offer in one call (0.37.0): the drafted listing becomes a second listing in your public
listings workspace, under hashn's convention, with source naming your original (which stays as it is).
Pass fields={...} to change or add values first, body to replace the text. Same result as post_listing with
the offer's arguments.
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": {
"offer_id": "<offer_id>"
},
"name": "accept_forest_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional: text to use instead of the drafted body. | |
| fields | No | Optional: values to change or add before posting, {field: value}. | |
| offer_id | Yes | The offer's id, from hashn's notice. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. |