---
title: "Tools and sign-in"
description: "Executor CLI 2.0.0-beta.79 usage, arguments, flags and examples for tools and sign-in."
---

These commands come from Executor CLI `2.0.0-beta.79` and cover `executor login` through `executor mcp`. See [global flags and command groups](/docs/reference/cli#global-flags).

## `executor login`

Sign in to a host for the tool commands and executor mcp, with a code approved in any browser. Choose which apps the sign-in reaches and how approvals are answered on the approval page. Later commands use this host by default

```text
executor login [flags]
```

| Option | Description |
| --- | --- |
| `--host string` | Executor origin to sign in to. Defaults to EXECUTOR_HOST, then hosted Executor, https://api.executor.sh |

```sh
# Sign in to hosted Executor
executor login

# Sign in to a self-hosted Executor
executor login --host https://executor.example.com
```

## `executor logout`

Remove this CLI's sign-ins for a host, for tools and for app commands, and stop using it by default

```text
executor logout [flags]
```

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |

## `executor whoami`

Print the host, its organization, what the tools sign-in reaches and how its approvals are answered, and whether app commands are signed in, as JSON

```text
executor whoami [flags]
```

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |

## `executor search`

Find app tools and their exact paths and input types. Prints the result as JSON

```text
executor search [flags] [<query>]
```

| Option | Description |
| --- | --- |
| `query string` | Words matched against tool paths, descriptions, input names, and app, account and router labels. Omit it to list a namespace (optional) |

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |
| `--namespace string` | App slug, such as axiom, or a namespace inside it, such as acme.issues |
| `--limit integer` | Most items to return; a page ends sooner at its size budget |
| `--offset integer` | Matches to skip, from a previous page's next.offset |

```sh
# Find tools by words
executor search "github issues"

# List one app's tools
executor search --namespace github
```

## `executor describe`

Print the whole description and TypeScript signature of tools at exact paths. Prints the result as JSON

```text
executor describe [flags] <path...>
```

| Option | Description |
| --- | --- |
| `path... string` | Exact tool paths from executor search, at most 20 |

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |

## `executor call`

Call app tools directly. Use executor execute when one result feeds another, or to keep only part of a large result. Prints the result as JSON, with the path of each image, audio or file it holds, written to a new temporary directory unless --files names one. A paused call prints its pending request, with an approvalUrl when the host gives one; continue it with executor resume

```text
executor call [flags] [<path>]
```

| Option | Description |
| --- | --- |
| `path string` | Exact tool path from executor search. Omit it to pass a JSON array of {path, input} calls as the input, which run concurrently (optional) |

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |
| `--input string` | The tool's input as JSON. Default: {} |
| `--input-file string` | Read the input JSON from this file, or from standard input with - |
| `--files string` | Write images, audio and files the result holds into this directory instead of a new temporary one |

```sh
# Call one tool and keep its result in a file
executor call tools.github.issues.list --input '{"repo":"acme/web"}' > issues.json

# Run a JSON array of {path, input} calls concurrently
executor call --input-file calls.json

# Read the input from standard input
jq -n '{repo:"acme/web"}' | executor call tools.github.issues.list --input-file -
```

## `executor execute`

Run a JavaScript program over your apps, where app tools are async functions such as tools.github.issues.list(input); return only what you need. Prints the result as JSON, with the path of each image, audio or file it holds, written to a new temporary directory unless --files names one. A paused call prints its pending request, with an approvalUrl when the host gives one; continue it with executor resume

```text
executor execute [flags]
```

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |
| `--code string` | The JavaScript program to run |
| `--file string` | Read the program from this file, or from standard input with - |
| `--files string` | Write images, audio and files the result holds into this directory instead of a new temporary one |

```sh
# Search for tools inside a program
executor execute --code 'return await tools.search({ query: "github" })'

# Run a program from a file and keep its result in a file
executor execute --file program.js > result.json
```

## `executor resume`

Continue a paused call or program with the person's answer; never run it again instead. Prints the result as JSON, with the path of each image, audio or file it holds, written to a new temporary directory unless --files names one. A paused call prints its pending request, with an approvalUrl when the host gives one; continue it with executor resume

```text
executor resume [flags] <request-id>
```

| Option | Description |
| --- | --- |
| `request-id string` | The requestId of the paused call or program |

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |
| `--action choice` | The person's answer. Required unless approvals are answered in the browser, where it is collected from the approvalUrl page (choices: accept, decline, cancel) |
| `--content string` | Form fields for accept, as a JSON object |
| `--content-file string` | Read the form fields JSON from this file, or from standard input with - |
| `--files string` | Write images, audio and files the result holds into this directory instead of a new temporary one |

```sh
# Approve a paused call
executor resume apr_… --action accept

# Collect an answer given on the approvalUrl page
executor resume apr_…
```

## `executor skills`

List or read the skills apps ship. Start with --app executor --name executor. Prints the result as JSON

```text
executor skills [flags]
```

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |
| `--app string` | App slug. Omit it to list every visible skill |
| `--name string` | Skill to read, such as executor. Requires --app |
| `--file string` | File within the skill to read instead of SKILL.md. Requires --name |
| `--version string` | App version to read the skill from, instead of the active one |
| `--revision string` | Skill revision a previous read returned, to read that exact copy |

## `executor mcp`

Serve the resolved host's MCP endpoint over stdio, with this CLI's sign-in, for MCP clients such as `claude mcp add executor -- executor mcp`

```text
executor mcp [flags]
```

| Option | Description |
| --- | --- |
| `--host string` | Executor origin, such as https://api.executor.sh. Defaults to EXECUTOR_HOST, then the host you signed in to last, then the local background Executor, which starts if needed |
