Splitters Publish
splitters.publishPublishes the current splitter draft as a new immutable version. A published logical splitter takes effect immediately for its source inbox, or for project uploads, and changes how documents arriving afterward are split; only one published logical splitter may serve each source. Republishing an unchanged draft returns the existing version. Rejected when expected_draft_revision no longer matches the draft or the splitter is archived. Returns the version number and ID.
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>",
"expected_draft_revision": "<expected_draft_revision>"
},
"name": "splitters.publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| expected_draft_revision | Yes | draft_revision of the splitter as last read. The request is rejected if the draft has changed since; read the splitter again for the current value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publication | Yes | The published version. |