# run_script_file

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\

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

## Facts

- Tool: `run_script_file`
- 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_script_file",
    "arguments": {}
  }
}
```

## Why run_script_file is rated High

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.

## Use case

AI agents invoke run_script_file 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_script_file": {
      "limits": [
        {
          "counter": "run_script_file_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_batch` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/run-batch.md
- `run_image_command` — Execute — https://policylayer.com/tools/adobe-mcp-illustrator/run-image-command.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
