@@ -490,6 +490,7 @@ agentcore dev call-tool --tool myTool --input '{"arg": "value"}'
490490| ` -l, --logs ` | Non-interactive stdout logging |
491491| ` --tool <name> ` | MCP tool name (with ` call-tool ` prompt) |
492492| ` --input <json> ` | MCP tool arguments as JSON (with ` --tool ` ) |
493+ | ` -H, --header <h> ` | Custom header (` "Name: Value" ` , repeatable) |
493494
494495### invoke
495496
@@ -506,18 +507,20 @@ agentcore invoke --json # JSON output
506507agentcore invoke call-tool --tool myTool --input ' {"key": "value"}'
507508```
508509
509- | Flag | Description |
510- | ------------------- | -------------------------------------------------------- |
511- | ` [prompt] ` | Prompt text (positional argument) |
512- | ` --prompt <text> ` | Prompt text (flag, takes precedence over positional) |
513- | ` --runtime <name> ` | Specific runtime |
514- | ` --target <name> ` | Deployment target |
515- | ` --session-id <id> ` | Continue a specific session |
516- | ` --user-id <id> ` | User ID for runtime invocation (default: ` default-user ` ) |
517- | ` --stream ` | Stream response in real-time |
518- | ` --tool <name> ` | MCP tool name (use with ` call-tool ` prompt) |
519- | ` --input <json> ` | MCP tool arguments as JSON (use with ` --tool ` ) |
520- | ` --json ` | JSON output |
510+ | Flag | Description |
511+ | -------------------- | -------------------------------------------------------- |
512+ | ` [prompt] ` | Prompt text (positional argument) |
513+ | ` --prompt <text> ` | Prompt text (flag, takes precedence over positional) |
514+ | ` --runtime <name> ` | Specific runtime |
515+ | ` --target <name> ` | Deployment target |
516+ | ` --session-id <id> ` | Continue a specific session |
517+ | ` --user-id <id> ` | User ID for runtime invocation (default: ` default-user ` ) |
518+ | ` --stream ` | Stream response in real-time |
519+ | ` --tool <name> ` | MCP tool name (use with ` call-tool ` prompt) |
520+ | ` --input <json> ` | MCP tool arguments as JSON (use with ` --tool ` ) |
521+ | ` -H, --header <h> ` | Custom header (` "Name: Value" ` , repeatable) |
522+ | ` --bearer-token <t> ` | Bearer token for CUSTOM_JWT auth |
523+ | ` --json ` | JSON output |
521524
522525---
523526
0 commit comments