agent_memory
Link memories to agents or recall agent-specific memories, using filters for category, project, and search query.
Instructions
Link memories to agents or recall agent-specific memories.
Usage Examples: // Link a memory to an agent agent_memory({ action: "link", agentId: "frontend-dev", memoryId: "mem-123-456", category: "learning", projectContext: "webapp" })
// Recall all memories for an agent agent_memory({ action: "recall", agentId: "backend-dev" })
// Search agent memories agent_memory({ action: "recall", agentId: "code-reviewer", query: "authentication", category: "error", limit: 10 })
// Project-specific recall agent_memory({ action: "recall", agentId: "test-engineer", projectContext: "api-service", category: "task" })
Memory Categories:
task: Assigned tasks and TODOs
learning: Things the agent learned
error: Errors encountered
solution: Solutions found
reflection: Agent reflections
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| agentId | Yes | Agent ID | |
| memoryId | No | Memory ID (for link action) | |
| category | No | Memory category like task, learning, error | |
| projectContext | No | Project name for context | |
| query | No | Search query (for recall action) | |
| limit | No | Max results to return |