List models
layerz_list_modelsLists the models the authenticated user can access, and the workspaces they belong to (workspaces[]: id, name, kind personal | team, role admin | member, plan, has_conventions). Each model carries workspace_id, can_write (owner, workspace member or editor guest), url, glyph and sharing: { shared, member_count, link_visibility }. q filters by name (case- and accent-insensitive substring, * wildcard), writable: true keeps owner/editor models only. A model-scoped key gets its bound model only.
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": "layerz_list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Name filter: case- and accent-insensitive substring ("swoop" matches "SWOOP - BP 2026", "homelior" matches "Homélior"); `*` is a wildcard, `%`, `_` and `&` are literal. | |
| writable | No | When true, only models the caller can edit (owner or editor). |