Splitters Run Page Range
splitters.run_page_rangeSplits one saved document in this project into segments with a published version of a fixed page-range splitter, saving a split run and its segments; the run waits for review when the configuration flags pages for review. Running the same version on the same document again returns the existing run. Returns the run status and its segments.
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": {
"splitter_id": "<splitter_id>",
"document_id": "<document_id>"
},
"name": "splitters.run_page_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Published version number to run. Defaults to the latest published version; a never-published splitter cannot run. | |
| document_id | Yes | Numeric ID of a saved document in this project, as returned in document_id by an upload or document lookup. Its page count must already be known. | |
| splitter_id | Yes | ID of a splitter in the selected project, as returned when it was created or listed. | |
| project_slug | No | Slug of the owned project to act on, as listed with the account's projects. When omitted, the account's single visible project is selected; omitting it fails if the account has several projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | The split run; repeating the same version on the same document returns the existing run. |