PrivaTools
v0.1.0Stateless privacy-first PDF, image, document, and media processing tools via PrivaTools API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
privatools_list_tools Search PrivaTools Operations
Search and filter PrivaTools /api/v1 operations by keyword query, category, or mode (sync/async). Uses the live /api/v1 catalog (or OpenAPI spec) with an automatic offline fallback.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional category filter (case-insensitive substring, e.g. 'PDF processing', 'Accessibility', 'Image', 'Audio and video'). |
limit | integer | Maximum number of operations to return (default 50). |
mode | string | Filter by execution mode: 'all' (default), 'sync', or 'async' (operations supported by /api/v1/jobs). |
offset | integer | Pagination offset (default 0). |
query | string | Optional keyword search across operation slugs, tool aliases, summaries, and categories (e.g. 'compress', 'watermark', 'accessibility', 'exif'). |
privatools_describe_tool Inspect PrivaTools Operation Schema
Inspect the exact endpoint, HTTP method, accepted file upload fields, form/query parameters, constraints, cost, async support, and response media types for a PrivaTools operation slug or alias.
| Parameter | Type | Description |
|---|---|---|
operation * | string | Operation slug, path, or tool alias (e.g. 'compress', 'compress-pdf', 'merge', 'accessibility-check', 'remove-watermark/detect'). |
privatools_run_tool Run PrivaTools File Operation
Execute any synchronous PrivaTools /api/v1/<operation> file or document tool against local file(s) and parameters. Binary outputs are written directly to disk (without overwriting unless overwrite: true) and concise metadata + X-* headers are returned; JSON-returning tools return their JSON response directly. See the full OpenAPI specification at https://api.privatools.me/api/v1/openapi.json and MCP documentation at https://privatools.me/mcp.
| Parameter | Type | Description |
|---|---|---|
operation * | string | Operation slug, path, or tool alias (e.g. 'compress', 'merge', 'accessibility-check', 'view-exif', 'remove-watermark/detect'). |
file_field | string | Optional multipart upload field name override (auto-detected from API schema when omitted; defaults to 'file' for file_path or 'files' for file_paths). |
file_fields | object | Optional map of multipart field names to local file path(s) (string or array of strings) for tools with distinct named file inputs (e.g. { file1: 'a.pdf', file2: 'b.pdf' }). |
file_path | string | Local path to a single input file. |
file_paths | array | Local paths to multiple input files, in order. |
output_path | string | Optional destination file path for binary output. If omitted, output is auto-named next to the input file without overwriting existing files. |
overwrite | boolean | Allow replacing an existing file at output_path (default false). |
params | object | Optional operation parameters (form fields for multipart endpoints, JSON fields for JSON endpoints, or query params for GET endpoints). |
privatools_submit_job Submit Async PrivaTools Job
Submit an asynchronous background job (POST /api/v1/jobs) for supported heavy/large operations such as 'merge', 'compress', 'grayscale', or 'pdf-to-text'. Completed job artifacts expire automatically within one hour and can be removed early with privatools_delete_job.
| Parameter | Type | Description |
|---|---|---|
operation * | string | Async operation slug (e.g. 'merge', 'compress', 'grayscale', 'pdf-to-text'). |
file_path | string | Local path to a single PDF input file. |
file_paths | array | Local paths to multiple PDF input files, in order. |
idempotency_key | string | Optional Idempotency-Key (1–128 visible ASCII chars) for safe retries. Auto-generated when omitted. |
options | object | Optional operation-specific options object (e.g. { level: 'recommended' } for compress). |
privatools_job_status Check or Download PrivaTools Job
Poll an asynchronous job's status (action: 'status') or download its completed artifact to output_path (action: 'download'). Read-only on the server — use privatools_delete_job to cancel or delete a job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job ID returned by privatools_submit_job. |
action | string | Read-only action to perform: 'status' (poll) or 'download' (fetch completed artifact). To delete or cancel a job, call privatools_delete_job. |
download | boolean | When action is 'status' and the job has succeeded, automatically download the artifact in the same call. |
output_path | string | Destination file path when downloading a binary artifact (or saving a JSON artifact to disk). |
overwrite | boolean | Allow replacing an existing file at output_path (default false). |
privatools_delete_job Delete PrivaTools Async Job
Permanently delete a completed PrivaTools asynchronous job's server-side artifact or cancel a queued/running job (DELETE /api/v1/jobs/{job_id}).
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job ID returned by privatools_submit_job to cancel or delete. |