list_files
Retrieve and organize uploaded files from xAI with customizable sorting, filtering, and display options.
Instructions
List files previously uploaded to xAI.
Args:
limit: Maximum number of files to return (default 100).
order: `"asc"` or `"desc"` sort order (default `"desc"`).
sort_by: Field to sort by, such as `"created_at"`.
Returns:
Markdown list of files with ID, filename, and size, or a placeholder when empty.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| order | No | desc | |
| sort_by | No | created_at |