run_algorithm
Execute media protection algorithms to safeguard content from AI training and detect AI-generated material using the Sidearm MCP Server.
Instructions
Run one or more named algorithms on media. Provide algorithm IDs (from list_algorithms) and either a public media_url or base64-encoded media content. For text, use the text param. Returns a job_id for async processing — use check_job to poll for results. Requires credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithms | Yes | Algorithm IDs to run (e.g. ['nightshade', 'glaze']). Use list_algorithms to discover IDs. | |
| media_url | No | Public URL of the media file to process | |
| media | No | Base64-encoded media content (alternative to media_url) | |
| text | No | Plain text content (for text algorithms like spectra, textmark) | |
| mime | No | MIME type of the media (e.g. image/png, audio/wav) | |
| tags | No | Tags for organizing and filtering | |
| webhook_url | No | URL to receive a POST when the job completes | |
| c2pa_wrap | No | Wrap output in C2PA provenance signing (default: true) | |
| filename | No | Original filename for human-readable output naming |