Rotate pages
rotate_pagesFree. Rotate the pages you name by 90, 180 or 270 degrees. Rotate pages of artifact_id: rotations is a list of {pages, degrees} with degrees 90, 180 or 270, added clockwise to each page's current rotation. Returns the new artifact_id and a download_url (a link that works for about an hour).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rotations": [
{
"pages": "1",
"degrees": 90
}
],
"artifact_id": "99999999-aaaa-bbbb-cccc-dddddddddddd"
},
"name": "rotate_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotations | Yes | ||
| artifact_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||