For an agent about to send a PATCH or update body
agents.writerslogic.com/api/v1/update-dialect
For an agent about to send a PATCH or update body: states, per field, what omitted / null / [] / "" mean under the declared dialect (RFC 7396 merge patch, RFC 6902 JSON Patch, or caller-declared semantics) and checks the body against stated intents such as 'clear this field', 'leave this alone' or 'set to empty array'. With a target document it applies the patch and compares the result; without on
POST
https://agents.writerslogic.com/api/v1/update-dialectUptime100% of 1 check in 30 days
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/update-dialect", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"dialect":"merge-patch","intents":[{"path":"/nickname","expect":"null"},{"path":"/email","expect":"unchanged"}],"payload":{"tags":[],"nickname":null}}),
});
console.log(await res.json());Example input
{
"dialect": "merge-patch",
"intents": [
{
"path": "/nickname",
"expect": "null"
},
{
"path": "/email",
"expect": "unchanged"
}
],
"payload": {
"tags": [],
"nickname": null
}
}