list_gaps
List gaps · read tool
What the Model leaves empty, grouped by Project and Owner Team: an Element’s description; a Service’s or Component’s technology; for a Service you run (type: app, not external) its repository, its deployments when it has none (any non-external Service), and api-docs when a non-Person calls it and no links label or Deployment endpoints name mentions api, openapi or swagger; a Relationship’s description and technology, and an async one’s channel; a Deployment url of a Service you run. Tags, links, metadata and Owners are never gaps. Use it to find what to fill.
| Field | Type | Required | Notes |
|---|---|---|---|
project |
string | Only this Project’s gaps. | |
owner |
string | Only the gaps of items this Team owns. | |
at |
string | A point in time to answer at: a tag, a commit sha or its first 4 or more characters, or a date (YYYY-MM-DD) or time (ISO 8601, UTC unless it gives a zone). On a checkout, any git ref works too. Leave out for the current Workspace. |
Output
Section titled “Output”| Field | Type | Required | Notes |
|---|---|---|---|
total |
number | yes | |
gaps |
list of object | yes | |
gaps[].project |
string | yes | |
gaps[].owner |
string | yes | |
gaps[].item |
object | yes | |
gaps[].missing |
list of "description" or "technology" or "repository" or "deployments" or "api-docs" or "channel" or "url" |
yes |
Example
Section titled “Example”Called over the Kitchen sink example Workspace.
Arguments:
{ "project": "sink", "owner": "data"}Result:
{ "total": 3, "gaps": [ { "project": "sink", "owner": "data", "item": { "kind": "element", "id": "sink:reports" }, "missing": [ "repository", "deployments" ] }, { "project": "sink", "owner": "data", "item": { "kind": "element", "id": "sink:search" }, "missing": [ "repository", "api-docs" ] }, { "project": "sink", "owner": "data", "item": { "kind": "deployment", "id": "sink:search in prod on sink:cloud" }, "missing": [ "url" ] } ]}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.not_foundwhen an id or name, or the point in history given asat, matches nothing, or a sha prefix starts more than one Revision, with the candidates.source_unavailablewhen the server can’t read the Workspace.history_unavailablewhen the Workspace has no history to read atat.
Error codes says what to do about each.
See also
Section titled “See also”Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.