agentcore_memory
Manages memory storage for context-aware AI agents, enabling persistent data handling and retrieval within the AWS AgentCore framework.
Instructions
Documentation on AgentCore Memory for building context-aware agents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agentcore_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- The handler function for the 'agentcore_memory' tool. It reads and returns the contents of the 'memory.md' documentation file using package resources.
@mcp.tool() async def agentcore_memory() -> str: """Documentation on AgentCore Memory for building context-aware agents.""" return pkg_resources.joinpath("content", "memory.md").read_text( encoding="utf-8" )