inject_para_ids
Assigns unique paragraph IDs to all paragraphs missing them, enabling paraId-based tools. Use once on templates created without IDs.
Instructions
Assign w14:paraId to every paragraph missing one, so paraId-based tools work. Returns the count injected. Run once on templates created without paraIds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "inject_para_ids"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |