log_action
Record one operation done on ONE outpost (seller × marketplace) in the Vendooly action log, so it is remembered and its impact on the KPI can be measured later. Owners/admins only. Call it right AFTER a write that succeeded (Ads, price, listing, stock) or after a manual change the user reports, with the value before → after. Internal Vendooly log: writes nothing on Amazon.
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": {
"outpost_id": "<outpost_id>",
"kpi": "<kpi>",
"action_type": "<action_type>",
"description": "<description>"
},
"name": "log_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kpi | Yes | KPI the operation is meant to move. | |
| ref | No | Optional: campaign/keyword/SKU/ASIN id or a link. | |
| actor_ref | No | Optional: name of the person/agent/session. | |
| actor_type | No | Who did it (default user). | |
| outpost_id | Yes | Id outpost (seller × marketplace). | |
| action_type | Yes | Short code, e.g. bid_change, budget_change, price_change, negative_keyword, listing_fix (max 60 chars). | |
| description | Yes | What was done, in one sentence (max 500 chars). | |
| value_after | No | Valore dopo l'azione. | |
| value_before | No | Valore prima dell'azione. |