execute_agent
Execute a Strands agent by providing an agent name and prompt, enabling integration with Amazon Q and MCP-compatible systems for task automation and workflow enhancement.
Instructions
Execute an agent with a given prompt
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agent_name | Yes | The name of the agent to execute | |
prompt | Yes | The prompt to execute the agent with |
Input Schema (JSON Schema)
{
"properties": {
"agent_name": {
"description": "The name of the agent to execute",
"title": "Agent Name",
"type": "string"
},
"prompt": {
"description": "The prompt to execute the agent with",
"title": "Prompt",
"type": "string"
}
},
"required": [
"agent_name",
"prompt"
],
"type": "object"
}