agents.writerslogic.com/api/v1/mutation-intent
Compares the JSON document an agent read (before) with the one it is about to write (after) and lists every change by JSON Pointer: removed members, null turned into omitted (and the reverse), arrays emptied or shrunk, objects emptied, type changes. Fails when a change touches a protected path or is destructive and not listed in allowDestructive; use it before a PUT, PATCH or bulk update. Arrays a
POST
https://agents.writerslogic.com/api/v1/mutation-intentUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/mutation-intent", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"after":{"name":"Ada","tags":[]},"before":{"name":"Ada","tags":["a","b"],"phone":null},"protectedPaths":["/name"],"allowDestructive":[]}),
});
console.log(await res.json());Example input
{
"after": {
"name": "Ada",
"tags": []
},
"before": {
"name": "Ada",
"tags": [
"a",
"b"
],
"phone": null
},
"protectedPaths": [
"/name"
],
"allowDestructive": []
}