List Litewrite Projects
litewrite_list_projectsList projects in Litewrite for an owner to discover project IDs before pulling or reading files.
Instructions
List projects available in the Litewrite platform for a given owner (POST /api/internal/projects/list).
Use this to discover a projectId before pulling or reading files.
Args:
ownerId (string, optional): defaults to the LITEWRITE_OWNER_ID env var, or "default".
search (string, optional): name filter.
limit (number, optional, 1-200, default 50): max results.
Returns an array of projects with fields {id, name, description?, mainFile?, compiler?, updatedAt?, createdAt?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 50) | |
| search | No | Optional project name filter | |
| ownerId | No | Owner; defaults to LITEWRITE_OWNER_ID or 'default' |