Write the Lens's words
write_lens_wordsWrites the user-facing words for a ShadowGit Lens change—summary, step titles and bodies, why/excerpt, and card roles—using the ids returned by get_lens.
Instructions
Write the words the user reads in ShadowGit's Lens for a change get_lens read: a summary, each step's title and body, with a why and an excerpt, each card's role, by the ids get_lens gave. An older ShadowGit takes plain text alone; text past its limit is cut; unknown ids are left out. The app keeps the words in its history: a card's role shows in any later change while its code is unchanged. When the session changed areas whose docs pages need words, the answer's next names them, the session's last step: get_docs, then write_docs.
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": {
"base": "<base>",
"head": "<head>"
},
"name": "write_lens_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | The base get_lens answered (null: from the start of the history) | |
| head | Yes | The head get_lens answered | |
| repo | No | Project name or absolute path. Defaults to the current project. | |
| flows | No | Per flow: a verb phrase, e.g. "draws the map" | |
| steps | No | Per step: a title naming what it does, and its words; a step's entry replaces everything written for that step before, so send its title, body, why and excerpt together | |
| layers | No | Per layer: a short name, where the default does not say where code runs | |
| summary | No | What the change does and why, in two sentences | |
| components | No | Per changed card: the role it plays, in a few words |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | The step that follows: the docs pages the change touched | |
| repo | Yes | ||
| applied | Yes | ||
| ignored | Yes |