# run_batch

Play an action on every file in a folder, or on every data set of the active document, and save the results (does what Actions panel > Batch does, by script). Folder: each .ai, .pdf, .eps or .svg file is opened, the action played, and the file left open (destination none), saved in place and closed (save_and_close), or saved as an .ai copy in destinationFolder and closed (folder; subfolders are recreated). Files already open are skipped with an error. Data sets: each data set is displayed, the action played, and with destination folder the document saved as an .ai file named by fileNaming; the document then refers to the last file saved. Save and Export steps inside the action still run as recorded. Each file runs as its own call, so a long batch does not time out

Agent View of the PolicyLayer registry record for `run_batch`. HTML page: https://policylayer.com/tools/adobe-mcp-illustrator/run-batch

## Facts

- Tool: `run_batch`
- Server: Adobe Mcp Illustrator (`adobe-mcp-illustrator`) — https://policylayer.com/tools/adobe-mcp-illustrator.md
- Install: `npx -y adobe-mcp-illustrator`
- Homepage: https://www.npmjs.com/package/adobe-mcp-illustrator
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "run_batch",
    "arguments": {}
  }
}
```

## Why run_batch is rated High

run_batch triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents invoke run_batch to trigger actions in Adobe Mcp Illustrator. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Adobe Mcp Illustrator:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "run_batch": {
      "limits": [
        {
          "counter": "run_batch_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Adobe Mcp Illustrator (305)

- `adjust_text` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/adjust-text.md
- `clean_up` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/clean-up.md
- `delete_artboard` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-artboard.md
- `delete_data_sets` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-data-sets.md
- `delete_empty_artboards` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-empty-artboards.md
- `delete_graphic_styles` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-graphic-styles.md
- `delete_items` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-items.md
- `delete_layer` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-layer.md
- `delete_swatches` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-swatches.md
- `delete_symbols` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-symbols.md
- `delete_text_styles` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-text-styles.md
- `delete_variables` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/delete-variables.md
- `flatten_transparency` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/flatten-transparency.md
- `overprint_black` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/overprint-black.md
- `remove_assets` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/remove-assets.md
- `remove_from_clipping_mask` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/remove-from-clipping-mask.md
- `reset_bounding_box` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/reset-bounding-box.md
- `reset_fill_stroke` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/reset-fill-stroke.md
- `thread_text_frames` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/thread-text-frames.md
- `unload_actions` — Destructive — https://policylayer.com/tools/adobe-mcp-illustrator/unload-actions.md
- `execute_illustrator_code` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/execute-illustrator-code.md
- `execute_menu_command` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/execute-menu-command.md
- `new_from_template` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/new-from-template.md
- `organize_layers` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/organize-layers.md
- `path_operation` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/path-operation.md
- `place_image` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/place-image.md
- `play_action` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/play-action.md
- `repeat_transform` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/repeat-transform.md
- `run_image_command` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/run-image-command.md
- `run_script_file` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/run-script-file.md
- …and 275 more: https://policylayer.com/tools/adobe-mcp-illustrator.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=adobe-mcp-illustrator · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/adobe-mcp-illustrator
