Fix a document
fixApply every fix that needs no choice from a person (for example ID counters), then check again. Gives the fixed document, the fixes applied and the problems that are left.
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": {
"document": "<document>"
},
"name": "fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | The format of the text. Default: from `filename`, else detected (JSON starts with '{'; Markdown has a '# ' title line). | |
| document | Yes | The whole document: OpenSkopos JSON, YAML or Markdown text, as in the file. | |
| filename | No | The name of the file, for example INTENT.md or app.skopos.yaml. Sets the format, and the kind of a Markdown file without one. | |
| output_format | No | The format of the document in the result. Default: the format of the input. |