Remember a preference
createAgentMemorySaves one lasting preference for the agent to follow in this workspace, as one line in your own words, under messaging, icp (who to target) or other. Up to 20; saving the same preference twice keeps one. Retrying with the same idempotencyKey and input returns the first result instead of repeating the action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "createAgentMemory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| idempotencyKey | Yes | A unique key for this action. Reuse it only to retry the same call with the same input; use a new key for a new action. |