databases_list_collections
Retrieve and filter collections within a specific Appwrite database using search terms or queries to manage data organization.
Instructions
Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.
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": {
"database_id": "<database_id>"
},
"name": "databases_list_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| queries | No | Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity | |
| search | No | Search term to filter your list results. Max length: 256 chars. |