spidra_save_preset
Save reusable job or tool presets—or update existing ones—so repeated scrape, crawl, search, or parse requests can run again with one call.
Instructions
Save a job so it can run again with one call, or change a saved one.
A template preset: "kind": "template", the template's "template" slug and its "inputs".
A tool preset: "kind": "tool", the "tool" (scrape, batch, crawl, map, search or parse) and "config", the request body exactly as that tool takes it. Cookies are never stored.
To change one, pass its "presetId" and only the fields that change ("name", "description", "inputs" or "config").
Presets can also be watched for changes with spidra_create_monitor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Required when creating | |
| name | No | The preset's name (required when creating) | |
| tool | No | Tool presets: which tool | |
| config | No | Tool presets: the request body for that tool | |
| inputs | No | Template presets: the inputs by key | |
| presetId | No | Change this preset instead of creating one | |
| template | No | Template presets: the template's slug, e.g. "google-maps-leads" | |
| description | No |