Compose a PDF from artifacts
compose_pdfFree. Build one PDF from pages of several artifacts, in the order and rotation you name. Build one PDF from several artifacts: sources is a list of {artifact_id, pages, rotate}; pages is a selection like 1-3,7 (omit for every page), rotate is 90, 180 or 270. Returns the new artifact_id and a download_url (a link that works for about an hour). Page selections: https://getemboss.ai/docs/artifacts.
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": {
"sources": [
{
"pages": "1-2",
"artifact_id": "22222222-3333-4444-5555-666666666666"
},
{
"artifact_id": "99999999-aaaa-bbbb-cccc-dddddddddddd"
}
]
},
"name": "compose_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||