The media library
list_mediaFiles already in this workspace, newest first, so you can reuse one by its id in media_ids instead of uploading again. unused: only files no post uses yet. Pass next back as cursor for more.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search file names, alt text and AI prompts | |
| type | No | ||
| limit | No | Default 20 | |
| cursor | No | The next value from the previous page | |
| unused | No | Only files no post uses |