All Tools›Text Diff
Developer Tools

Text Diff

text-diff

Use Text Diff through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDtext-diff
Version1
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Embedded

Quick actions

Input files 0Output files 0

Input

Accepted input contract for this Tool.

Kinddata
File count0 – 0
Accepted MIME typesNone

Parameters

Pass these values through request.options.

Parameter Type Required Default Allowed / Range Description
left string Required — — Original text.
right string Required — — Changed text.

Output

Result contract returned after successful processing.

Typedata
File count0 – 0
MIME typesNone
MetadatachangedCount, leftLines, rightLines
ZIP archiveNo

Basic usage

Choose a supported integration mode and copy the generated starter code.

Headless

const result = await client.run("text-diff", {
  
  options: { left: "value", right: "value" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "text-diff", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.