Execute Slack API code
executeRun JavaScript in a network-isolated V8 isolate to chain Slack Web API calls and app lookups, returning values; credentials are brokered by the host.
Instructions
Run JavaScript inside a network-isolated celld V8 isolate. Prefer app.* for lookups, DMs, posts, threads, links, files, and canvases; slack exposes the allowlisted Web API. Return a value to get it back; console output is included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript body. Use `return` for the value you want back. | |
| timeout_ms | No | Execution limit in milliseconds (default 30000). |