agentcore_code_interpreter
Execute code within AI agents to process data, automate tasks, and integrate systems using the AWS AgentCore framework.
Instructions
Documentation on AgentCore Code Interpreter for executing code in agents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function for the 'agentcore_code_interpreter' MCP tool. It is registered via the @mcp.tool() decorator and returns the contents of the embedded 'code_interpreter.md' documentation file describing the AgentCore Code Interpreter feature.@mcp.tool() async def agentcore_code_interpreter() -> str: """Documentation on AgentCore Code Interpreter for executing code in agents.""" return pkg_resources.joinpath("content", "code_interpreter.md").read_text( encoding="utf-8" )