survey
Discovers what an application is made of by inspecting live Kubernetes namespaces, running images, and organization repositories, then returns a Saga descriptor as YAML.
Instructions
Discover what an application is made of, the images running in a Kubernetes namespace, the repositories in an organization, and return a Saga descriptor for it. Prefer this over writing a descriptor from the schema: which namespaces exist and which images are actually running, at which digest, is not something to guess at. It reads a live system with credentials this machine already has, and returns YAML rather than writing a file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"surveys": "<surveys>"
},
"name": "survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | project name for the descriptor | |
| surveys | Yes | the surveyors to run; results merge into one descriptor | |
| version | No | release version for the descriptor; omitted when empty |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| saga | Yes | the descriptor this survey produced, as YAML | |
| warning | No | ||
| controls | No | ||
| components | No |