List Flow images and videos
flow_list_assetsList the images and videos in a Google Flow project, newest first, each with its reference id (pass it as referenceImage_N / referenceVideo_1 to flow_agent_chat) and whether it is an upload. Every project lists the account's uploads; generated media are listed in the project they were made in: by default the account's main project (API generations), or pass the agent project's id from flow_agent_get_settings for what the agent made. Returns 50 by default (limit up to 200); a large project can take 20 s or more to read. GET /assets/media/{email}.
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": "flow_list_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only images or only videos. | |
| No | The Google Flow account email. Optional when the API token has one Flow account. | ||
| limit | No | How many of the newest to return, 1 to 200 (default 50). | |
| projectId | No | A Flow project id (e.g. the agent project from flow_agent_get_settings). Default: the account's main project. | |
| uploadsOnly | No | Only files uploaded to the account (flow_upload_image, POST /assets), not generated ones (default false). |