redline_diff
An agent proposes an edit: diffs original text/markdown against its own revised version and returns the line-level hunks plus a diff receipt (original/revised digests, diff-algorithm declaration, per-hunk digests). Byte-identical to what the tools/552 browser workbench computes for the same input...
This record as markdown: /tools/postoaklabs-ainumbers-mcp-apps/redline-diff.md
What redline_diff does on Ainumbers Mcp Apps
AI agents call redline_diff to retrieve information from Ainumbers Mcp Apps without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
revised | string | Yes | Proposed revised text or markdown document. |
original | string | Yes | Original text or markdown document. |
generated_at | string | — | ISO 8601 timestamp (caller-supplied for determinism). Defaults to the call time. |
Parameters from the server's own tool schema.
Why redline_diff is rated Low
The tool performs a purely computational/analytical operation: it compares two text inputs and returns a structured diff result. No data is written, executed, or deleted. It generates receipts/digests for audit purposes but these are outputs of a read/compute operation, not side effects on external systems.
From the tool's definition 'diffs original text/markdown against its own revised version and returns the line-level hunks plus a diff receipt' and server description states 'Read-only, no auth, zero PII'
Attacks that exploit this kind of access
The rule that runs redline_diff safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Ainumbers Mcp Apps, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For redline_diff, this is the rule to start with:
redline_diff is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Ainumbers Mcp Apps, apply this rule, and every redline_diff call is checked against it from then on.
Questions about redline_diff
An agent proposes an edit: diffs original text/markdown against its own revised version and returns the line-level hunks plus a diff receipt (original/revised digests, diff-algorithm declaration, per-hunk digests). Byte-identical to what the tools/552 browser workbench computes for the same inputs -- a human can paste the SAME original/revised text into that workbench, disposition each hunk (accept/reject/comment), and their resulting hunk/disposition receipts will reference this diff_receipt's execution_hash. Pass the whole bundle (this diff_receipt + the human's hunk_receipts + disposition_receipt) to redline_verify to check the interleaved chain end-to-end. It is categorised as a Read tool in the Ainumbers Mcp Apps MCP Server, which means it retrieves data without modifying state.
redline_diff accepts 3 parameters: revised, original, generated_at. Required: revised, original. The full parameter table on this page comes from the server's own tool schema.
Register the Ainumbers Mcp Apps MCP server in PolicyLayer and add a rule for redline_diff: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Ainumbers Mcp Apps. Nothing to install.
redline_diff is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the redline_diff rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for redline_diff. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
redline_diff is provided by the Ainumbers Mcp Apps MCP server (postoaklabs/ainumbers-mcp-apps). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Ainumbers Mcp Apps, and thousands of servers like it.
This server
Across the catalogue