Respond to a recommendation
respond_to_recommendationRecord YOUR response to a pending recommendation (requires the api:respond scope on your key). recommendation_id is the id from generate_recommendation (any non-null one, including a ledger.status recorded id that is not in the pending list) or a list_recommendations(status=pending) row — never snapshot_id. This is a terminal, idempotent write — 409 means a response was already recorded; 404 means no recommendation with that id belongs to you (a watch outcome mints none). It does NOT execute a trade.
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": {
"recommendation_id": "<recommendation_id>",
"response": "<response>"
},
"name": "respond_to_recommendation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | ||
| recommendation_id | Yes |