Update offer
update_offerEdit one of the user’s offers: title, description, type, links, capacity, event date, or whether it is active. Send only what changes. Applies immediately.
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": {
"offerId": "<offerId>",
"changes": "<changes>"
},
"name": "update_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| offerId | Yes | Offer id from get_offers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the created or changed record, when there is one. | |
| url | Yes | Where the user can see the result in Distinctful. | |
| done | Yes |