List style guides and contexts
list_assetsList the organisation's style guide and context Assets, optionally of one type: each with its id (the assetId the style guide tools and set_project_context take), name, type, scope (global: one text for every language; per_locale: a text per locale), the locales it holds a text for, and the Projects and active Workflows using it, by name. A context's texts are included (each at most 1000 characters); a style guide's are not — get_style_guide reads one. repositoryManaged is set on an Asset a repository-sourced project syncs from its asset repository, which refuses every write. repositoryWorkflows lists the active Workflows that read their style guides or context from their repository rather than stored Assets, each with the files it reads. These tools edit the stored Assets. A Workflow listed in list_assets repositoryWorkflows reads docs/style-guides/.md and docs/context.md on its repository's triggering commit instead, so those are edited in its files, through a pull request. A missing context file, or style guide file of a declared target language, is added in the web app by Style setup ("Draft style guides" on the Workflow's page), whose drafts pull request only adds files. A Workflow's own context (get_workflow) is part of its definition and changes only by publishing a new version, not through these tools. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.
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_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only Assets of this type: style_guide or context |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | Yes | ||
| repositoryWorkflows | Yes | Active Workflows reading their style guides or context from their repository's files rather than stored Assets |