# illustrator_run_script_file

Illustrator: Run a script file (File > Scripts > Other Script, or a script installed in File > Scripts given by its path): .jsx, .js or .jsxbin. Like execute_illustrator_code it runs unrestricted: it can change or delete anything and read or write files. The coordinate system is left as the script expects; Illustrator's own alerts are suppressed while it runs. A script that opens its own dialog waits for the user. Returns the script's last value as text. The file must be inside the allowed folders (add Illustrator's Scripts folder to ILLUSTRATOR_ALLOWED_DIRS to run installed scripts)

Agent View of the PolicyLayer registry record for `illustrator_run_script_file`. HTML page: https://policylayer.com/tools/adobe-mcp-suite/illustrator-run-script-file

## Facts

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

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `filePath` | string | yes | Absolute .jsx, .js or .jsxbin path |

Parameters from the server's own tool schema.

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

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "illustrator_run_script_file",
    "arguments": {
      "filePath": "<filePath>"
    }
  }
}
```

## Why illustrator_run_script_file is rated High

illustrator_run_script_file 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: Accepts file system path (filePath)

## Use case

AI agents invoke illustrator_run_script_file to trigger actions in Adobe Mcp Suite. 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 Suite:

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

## Other tools on Adobe Mcp Suite (446)

- `illustrator_adjust_text` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-adjust-text.md
- `illustrator_clean_up` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-clean-up.md
- `illustrator_delete_artboard` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-artboard.md
- `illustrator_delete_data_sets` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-data-sets.md
- `illustrator_delete_empty_artboards` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-empty-artboards.md
- `illustrator_delete_graphic_styles` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-graphic-styles.md
- `illustrator_delete_items` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-items.md
- `illustrator_delete_layer` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-layer.md
- `illustrator_delete_swatches` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-swatches.md
- `illustrator_delete_symbols` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-symbols.md
- `illustrator_delete_text_styles` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-text-styles.md
- `illustrator_delete_variables` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-delete-variables.md
- `illustrator_flatten_transparency` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-flatten-transparency.md
- `illustrator_overprint_black` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-overprint-black.md
- `illustrator_remove_assets` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-remove-assets.md
- `illustrator_remove_from_clipping_mask` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-remove-from-clipping-mask.md
- `illustrator_reset_bounding_box` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-reset-bounding-box.md
- `illustrator_reset_fill_stroke` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-reset-fill-stroke.md
- `illustrator_thread_text_frames` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-thread-text-frames.md
- `illustrator_unload_actions` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/illustrator-unload-actions.md
- `indesign_clear_session` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-clear-session.md
- `indesign_delete_all_page_layout_snapshots` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-delete-all-page-layout-snapshots.md
- `indesign_delete_master_spread` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-delete-master-spread.md
- `indesign_delete_page` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-delete-page.md
- `indesign_delete_page_item` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-delete-page-item.md
- `indesign_delete_page_layout_snapshot` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-delete-page-layout-snapshot.md
- `indesign_delete_spread` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-delete-spread.md
- `indesign_organize_document_layers` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-organize-document-layers.md
- `indesign_remove_item_from_group` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-remove-item-from-group.md
- `indesign_remove_master_override` — Destructive — https://policylayer.com/tools/adobe-mcp-suite/indesign-remove-master-override.md
- …and 416 more: https://policylayer.com/tools/adobe-mcp-suite.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-suite · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/adobe-mcp-suite
