Report a media use
media_usedRecords that a KLIPY result was inserted into a deck so its source can count the use; call once per inserted KLIPY item when not added via slide_add or slide_update.
Instructions
Tell the source a result went into the deck. KLIPY requires it (its share trigger is how it counts a use): call it once for every KLIPY result you insert, with the result's id ("gifs/"). Edits made through slide_add / slide_update report KLIPY results from this session on their own, so this is for inserts made any other way; other providers need nothing and the call says so.
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": {
"provider": "<provider>",
"id": "<id>"
},
"name": "media_used"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The result's id, e.g. gifs/hello-hi-662. | |
| query | No | The search it came from, when you have it. | |
| provider | Yes | The result's provider: "klipy" (others are accepted and ignored). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| reported | Yes |