List the A1 Lane media library
list_mediaUse when the user asks what videos or images are already in their A1 Lane media library, or wants to reuse a file they uploaded earlier instead of uploading it again. Returns the library's files, newest first, each with its media id (med_…) for create_draft, kind (video or image), type, size, file name, title, tags, when it was added and whether the file itself is still held. Filter by kind, tag or a search word; page with limit and offset. It only lists; to add a file use import_media for a public link or create_upload_link for a file on the user's device. Do not use it when the user asks to create, generate or edit an image or video (resize, crop, trim): A1 Lane makes and edits no media, so say so without calling it.
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 |
|---|---|---|---|
| tag | No | Only files carrying this tag. | |
| kind | No | Only videos or only images; omit for both. | |
| limit | No | How many files to return, 1 to 100; default 50. | |
| offset | No | How many files to skip, for paging; use nextOffset from the previous result. | |
| search | No | Only files whose name, title or tags contain this text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | ||
| nextOffset | No |