# `smallforce calls tool-keys create`

Save a key for tools to send to one website

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.13. Run `smallforce calls tool-keys create --help` locally to view the same reference for your installed version.

## Complete command help

```text
Usage: smallforce calls tool-keys create [options]

Save a key for tools to send to one website

Options:
  --api-key <key>         SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>     SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                  Print stable machine-readable JSON
  --text                  Print human-readable text
  --format <format>       Output format: text or json
  --name <name>           Name, e.g. "GHL token"
  --kind <kind>           How it's sent (choices: "bearer", "header", "basic")
  --host <host>           The only website it's sent to, e.g. api.example.com
  --header <name>         Header name for --kind header, e.g. X-API-Key
  --secret-file <path>    Read the token or key from a file, or - for stdin (never pass secrets as
                          flags)
  --username <username>   Username for --kind basic
  --password-file <path>  Read the password for --kind basic from a file, or - for stdin
  -h, --help              display help for command
```

## Related reference

- [`smallforce calls tool-keys`](/docs/cli/commands/calls/tool-keys): Parent command and related operations.
- [CLI installation and authentication](/docs/cli/getting-started): Install the CLI and configure an API key.
- [CLI JSON output](/docs/cli/json-output): Use stable machine-readable output in scripts and agents.
