check
Check the Workspace · write tool
Validate the Workspace as it is on disk, as archidocs check does, and return its issues. Use it after editing YAML with your own file tools.
No arguments.
Output
Section titled “Output”| Field | Type | Required | Notes |
|---|---|---|---|
issues |
list of object | yes | |
issues[].file |
string | yes | |
issues[].line |
number | yes | |
issues[].column |
number | ||
issues[].rule |
string | yes | |
issues[].severity |
"error" or "warning" |
yes | |
issues[].message |
string | yes | |
issues[].docs |
string | yes | The rule’s page on the docs site. |
summary |
object | yes | |
summary.errors |
number | yes | |
summary.warnings |
number | yes |
Example
Section titled “Example”Called over the Kitchen sink example Workspace.
Arguments:
{}Result:
{ "issues": [], "summary": { "errors": 0, "warnings": 0 }}Errors
Section titled “Errors”A call that fails returns isError: true, with {code, message, suggestions?} as structuredContent. This tool returns:
invalid_inputwhen the arguments don’t fit the input above.read_onlywhen the server reads a published Workspace Bundle, or serves HTTP without--allow-writes.source_unavailablewhen the server can’t read the Workspace.
Error codes says what to do about each.
See also
Section titled “See also”Documents Archidocs v1.4.0, the latest release.