Search the library
search_mediaOn one site of the account, named in site. The files already in the library, newest first, found by part of their name. Look here before you upload a picture again. Each file has its address, the Markdown to paste into a post, the posts that show it and the alt text they give it, which says what the picture shows.
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": {
"site": "<site>"
},
"name": "search_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | image by default | |
| page | No | 1 by default; thirty a page | |
| site | Yes | The site to work on, as list_sites names it | |
| query | No | Part of the file's name |