Bedrock AgentCore CLI
Command-line interface for AWS Bedrock AgentCore tools
Bedrock AgentCore CLI
Use AWS Bedrock AgentCore tools from the command line.
Commands
Code Interpreter
# Execute Python code
praisonai-ts tools run bedrock-code-interpreter \
--code "print(sum(range(1, 11)))"
# With file
praisonai-ts tools run bedrock-code-interpreter \
--file script.pyBrowser Navigate
praisonai-ts tools run bedrock-browser-navigate \
--url "https://example.com"Browser Click
praisonai-ts tools run bedrock-browser-click \
--selector "#submit-button"Browser Fill
praisonai-ts tools run bedrock-browser-fill \
--selector "#email" \
--value "user@example.com"Options
| Option | Type | Description |
|---|---|---|
--code | string | Python code to execute |
--file | string | Path to Python file |
--url | string | URL to navigate to |
--selector | string | CSS selector |
--value | string | Value to fill |
--timeout | number | Timeout in ms |
Environment Variables
| Variable | Required | Description |
|---|---|---|
AWS_ACCESS_KEY_ID | Yes | AWS access key |
AWS_SECRET_ACCESS_KEY | Yes | AWS secret key |
AWS_REGION | Yes | AWS region |