xref_updateFormat
Change the applied format of a cross-reference in an open InDesign document by setting its index and new format string.
Instructions
Update the format of a cross-reference
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": {
"index": "<index>",
"appliedFormat": "<appliedFormat>"
},
"name": "xref_updateFormat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| appliedFormat | Yes |