staging.toolkit.dev
Add a new memory. This method is called every time the user informs anything about themselves, their preferences, or anything that has any relevant information which can be useful in the future conversation. This can also be called when the user asks you to remember something.
- Price per call
- $0.01
- Chain
- Base
- Method
- POST
- Paid calls · 30 days
- 7
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://staging.toolkit.dev/api/tool/memory/add-memory", { method: "POST" });
console.log(await res.json());https://staging.toolkit.dev/api/tool/memory/add-memory