agents.writerslogic.com
Given a conversation, the index of the last message inside the provider's cached prefix, and a token target, returns which messages to drop: whole tool call plus tool result pairs (so no result is left without its call) and messages the caller marked droppable, oldest first or largest first, never inside the cached prefix, never the most recent keepRecent messages, never pinned ones. Everything up to the cache breakpoint stays byte-identical because it is never selected; the response carries a digest of that prefix so a later call can confirm it did not change. Does not summarize, edit or reorder messages, and does not know any provider's minimum cacheable size or TTL.
Resource URL
https://agents.writerslogic.com/api/v1/conversation-prune
Payment options
$0.005 USDC
Max amount
- Pay to
- 0x34C2D4B19b2D61Da1eC98A3463B8E9994FB86522
- Timeout
- 300s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://agents.writerslogic.com/api/v1/conversation-prune Type: http Sources: payai