library
The user's Library on Clousd: every file they want on their phones lives here once (photos, videos, documents, apps) and is used by id. op=list shows it; op=upload adds a local file and returns its id; op=send copies files to phones right away (photos and videos into the gallery as if taken there, documents into Downloads, apks installed). For a task that needs a file, prefer run(files=...) - the file is placed on the phone before the first step.
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": "library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | list (default) | upload | send | list |
| ids | No | send: library ids, comma-separated | |
| kind | No | list: only this kind - image | video | doc | apk (empty = all) | |
| path | No | upload: a local file to add - photo (.jpg .png .webp .heic), video (.mp4 .mov), document (.pdf .txt .csv .md .json .docx .xlsx .zip) or .apk; photo 25 MB, video 200 MB, document 50 MB, apk 300 MB | |
| devices | No | send: devices to copy the files to (names, labels or numbers) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |