list_files
List and search ImageKit media library files by folder path, file type, or name query, with pagination and sorting controls.
Instructions
List and search files in ImageKit media library
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_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path to list files from | / |
| skip | No | Number of files to skip for pagination | |
| sort | No | Sort order (ASC_CREATED, DESC_CREATED, ASC_NAME, DESC_NAME, ASC_SIZE, DESC_SIZE) | DESC_CREATED |
| limit | No | Number of files to return | |
| fileType | No | Filter by file type | all |
| searchQuery | No | Search query for file names (supports ImageKit search syntax) |