Set print only
set_print_onlyTurn print-only on or off for a Preesy session. With print-only on, the files can be printed but not downloaded, which keeps documents safer on shared computers. Use the manage_token of that session from its create_print_session result earlier in the conversation. The manage_token is secret. An expired session returns status only.
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": {
"manage_token": "<manage_token>",
"print_only": "<print_only>"
},
"name": "set_print_only"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| print_only | Yes | true turns print-only on (print, no download). false turns it off so the file can be downloaded. | |
| manage_token | Yes | Secret returned by create_print_session. Keep it private. A label and PIN do not work here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| status | Yes | ||
| expires_at | No | Expiry time in RFC3339 UTC. | |
| print_only | No |