behold
v0.34.7Your infrastructure repo as a graph, from the files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ask
Ask a chant search query of the estate behold serves, and get chant's answer: its read-contract search document, verbatim, with `link` (the behold view that draws it) and `drawn: false` added. ask never moves the person's tab; use show for that. On a declared workspace the document is chant workspace search's, with every member's rows as <member>/<id>; on one project or a Terraform folder it is chant search --json's. Uses the running behold serve of this project; with none, behold answers in this process. Needs chant 0.124.46 or newer. Which demo questions it answers: "what's in here?" is coun…
| Parameter | Type | Description |
|---|---|---|
countBy | string | Group the matches the way chant search --count-by does: kind, module or attr:<name> (behold#922). The answer is chant's groups and total; the view lights each group's cards and labels the group with i… |
cypher | string | A read-only Cypher query over the graph pane's database (behold#1027): every member's chant IR, every engine graph document (choudoufu, plunge) and every index version, in one LadybugDB. Tables: Resou… |
env | string | The environment whose live state the view shows. Without it, the declared source. |
inputs | string | With template: its inputs as a JSON object of strings ({"kind": "aws_internet_gateway"}). |
params | string | With cypher: its parameters, as a JSON object ({"k": "aws_s3_bucket"} for $k). Values are strings, numbers, booleans or null. |
plan | boolean | The plan read (behold#922): the query is answered at the plan depth (CHANT_TERRAFORM_OBSERVE=plan, chant search --live --env), and the cards carry each Terraform root's planAction, planActions, planRe… |
query | string | A chant search query whose matches the view lights, such as `attr:internetFacing=true`. |
resource | string | Start from a resource (behold#1022): a name, an IR id, a block address or a cloud id (an ARN, an instance id, a Kubernetes UID). The answer is one node or the candidates, with the investigation templa… |
show | string | Comma-separated attributes to carry on each row (chant search --show). |
snapshot | string | With env: a recorded snapshot to show instead of a live read (latest, or a ref chant lists). Not with plan. |
template | string | With resource that resolves to one node: run one of the templates resolve lists for that node, by name. They are chant's and the project's own (.chant/templates.json), each with its origin; ask with r… |
show
Move the person's open behold tab to a view: the query's matches lit and the rest dimmed, in the env or snapshot asked for. The tab says an agent moved it and keeps the view it left one Back away. It changes nothing but what the tab shows. Needs a running behold serve of this project; with none, it refuses and names the command that starts one. With no tab open it answers the link to hand the person. The query is chant's search grammar, unchanged (https://intentius.io/chant/cli/search/). env reads that environment live (chant search --live --env <env>); snapshot with env replays a recorded sna…
| Parameter | Type | Description |
|---|---|---|
countBy | string | Group the matches the way chant search --count-by does: kind, module or attr:<name> (behold#922). The answer is chant's groups and total; the view lights each group's cards and labels the group with i… |
env | string | The environment whose live state the view shows. Without it, the declared source. |
focus | string | Comma-separated box ids to keep at full weight; the rest dims. |
member | string | Show one estate member. |
node | string | A card to select, by behold's node id. |
plan | boolean | The plan read (behold#922): the query is answered at the plan depth (CHANT_TERRAFORM_OBSERVE=plan, chant search --live --env), and the cards carry each Terraform root's planAction, planActions, planRe… |
query | string | A chant search query whose matches the view lights, such as `attr:internetFacing=true`. |
snapshot | string | With env: a recorded snapshot to show instead of a live read (latest, or a ref chant lists). Not with plan. |
zoom | string | The zoom: components, resources, attributes, or another behold offers. |
shot
A PNG of a view, framed on the query's matches, and the link to the same view. Returns the image inline. Uses the running behold serve of this project; with none, it starts behold in this process for the shot and stops it after. Needs the optional peer playwright-core and a browser; without them it refuses with the install line. Writes no file. Without a query, node or focus frames the view's own selection. The query is chant's search grammar, unchanged (https://intentius.io/chant/cli/search/). env reads that environment live (chant search --live --env <env>); snapshot with env replays a recor…
| Parameter | Type | Description |
|---|---|---|
countBy | string | Group the matches the way chant search --count-by does: kind, module or attr:<name> (behold#922). The answer is chant's groups and total; the view lights each group's cards and labels the group with i… |
env | string | The environment whose live state the view shows. Without it, the declared source. |
focus | string | Comma-separated box ids to keep at full weight; the rest dims. |
height | integer | The page's height in px (default 1000). |
member | string | Show one estate member. |
node | string | A card to select, by behold's node id. |
plan | boolean | The plan read (behold#922): the query is answered at the plan depth (CHANT_TERRAFORM_OBSERVE=plan, chant search --live --env), and the cards carry each Terraform root's planAction, planActions, planRe… |
query | string | A chant search query whose matches the view lights, such as `attr:internetFacing=true`. |
snapshot | string | With env: a recorded snapshot to show instead of a live read (latest, or a ref chant lists). Not with plan. |
width | integer | The page's width in px (default 1600). |
zoom | string | The zoom: components, resources, attributes, or another behold offers. |
capabilities
Read this first. The capability catalog chant answers cap: terms with, for the estate behold serves: chant's read-contract capabilities document, verbatim (chant search --capabilities --json, INTENTIUS/chant#4375; chant workspace search --capabilities --json on a declared workspace). Each capability has its name, what it means, its parameters, the search term that asks it (cap:internet-reachable, ->[cap=network]), the questions it answers, what it does not evaluate, its rule, and which lexicons supply it. Then ask with that term; a cap: match's path is in its because hops, and show draws it. U…
graph
Draw the repository as a graph, or a cut of it. A host that renders MCP Apps shows the interactive view inline; every other host gets this answer: how many roots, cards and edges, the cut asked for, a Mermaid diagram when it fits (else a table of roots with card counts), and a link to the running behold serve at that view. The answer holds no document JSON, and no card list when the diagram does not fit. For a big estate ask again with around, a root or card id from the table, to see one part. Reads the files and git objects in this process; it needs no serve and no chant search. dir is a fold…
| Parameter | Type | Description |
|---|---|---|
around | string | Comma-separated card or box ids to cut around (a root such as a Terraform root, or a card id from the roots table), with what is within depth hops of them. |
changed | string | A revision range, <base>..<head> or <base>...<head> (from the merge base): cut to what changed between the two commits and the cards within depth hops. |
depth | integer | Hops from the cards around names, or from what changed (default 1). |
dir | string | A folder inside the project to read, relative to it (default: the project folder). |
direction | string | With around: up follows what the cards depend on, down what depends on them (default both). |
graph_document
For the graph view only, not for a model: the behold-graph/1 document of a graph call, taking the same arguments, so the view can draw it. The model is never offered this tool, and its answer never enters the conversation.
| Parameter | Type | Description |
|---|---|---|
around | string | Comma-separated card or box ids to cut around (a root such as a Terraform root, or a card id from the roots table), with what is within depth hops of them. |
changed | string | A revision range, <base>..<head> or <base>...<head> (from the merge base): cut to what changed between the two commits and the cards within depth hops. |
depth | integer | Hops from the cards around names, or from what changed (default 1). |
dir | string | A folder inside the project to read, relative to it (default: the project folder). |
direction | string | With around: up follows what the cards depend on, down what depends on them (default both). |