lingual_transform_spec
Transform raw native-language thoughts or instructions into structured engineering specs, conventional commits, or maintainer peer feedback while leaving code blocks and stack traces untouched.
Instructions
Transform messy native-language thoughts or instructions into crisp, structured engineering specifications, conventional commits, or OSS maintainer peer comms while keeping code blocks & stack traces 100% untouched. Accepts any preset id or a mode id declared in ~/.pi/agent/lingual.json.
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": {
"text": "<text>"
},
"name": "lingual_transform_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The raw thought, feature requirement, issue draft, or commit message in any language. | |
| context | No | Extra context for context-aware modes, such as a staged git diff for 'commit' or the previous agent turn. | |
| loadout | No | Preset loadout: 'spec' (structured engineering specification), 'commit' (conventional commit <=72 chars), 'oss' (maintainer peer issue/PR feedback), 'yap' (high-density tech post for X/HN), 'direct' (clean technical English, code blocks and stack traces intact), or any custom mode id from lingual.json. Default: 'spec'. | spec |
| reasoning | No | Thinking effort for this call. Overrides the mode's pinned level (spec pins 'low', the rest pin 'off'). | |
| sourceLang | No | Source language code (e.g. 'zh', 'ja', 'en', 'es'). Auto-detected if omitted. | |
| targetLang | No | Target language code (e.g. 'en', 'ja', 'zh'). Default: 'en'. | en |
| includeVocab | No | Set false to drop the vocabulary slot from the prompt and the response. Default: true. |