> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veadk.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoke a runtime

The `invoke` command invokes a deployed runtime by name or id, resolving its endpoint and authentication automatically before sending a message.

## invoke

Invoke a deployed runtime (resolves endpoint + auth).

| Flag / Argument | Description | Default |
| - | - | - |
| `<runtime>` | Runtime id (`r-...`) or name (required) | None |
| `-m, --message <text>` | User message to send | None |
| `-r, --region <region>` | Volcengine region | Auto-sense |
| `--rev <n>` | Runtime version to invoke | Current |
| `-u, --user <id>` | User id | `default` |
| `-s, --session <id>` | Session id | `default` |
| `--token <jwt>` | Bearer token (for custom\_jwt runtimes) | None |
| `--path <path>` | Force a specific endpoint path | Auto-detect (ADK `/run_sse`, else `/invoke`) |
| `--json` | Print the full JSON response | `false` |

```bash lines theme={null}
agentkit invoke my-agent -m "Hello, introduce yourself"
```
