Entwickler-Tools
Text Diff
text-diff
Use Text Diff through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
Schnellzugriff
Eingabedateien 0Ausgabedateien 0
Eingabe
Zulässige Eingabeformate und Dateianzahl für dieses Tool.
| Eingabetyp | data |
|---|---|
| Dateianzahl | 0 – 0 |
| Zulässige MIME-Typen | Keine |
Parameter
Diese Werte über request.options übergeben.
| Parameter | Typ | Erforderlich | Standard | Zulässig / Bereich | Beschreibung |
|---|---|---|---|---|---|
left |
string | Erforderlich | — | — | Original text. |
right |
string | Erforderlich | — | — | Changed text. |
Ausgabe
Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.
| Typ | data |
|---|---|
| Dateianzahl | 0 – 0 |
| Ausgabe-MIME | Keine |
| Metadata | changedCount, leftLines, rightLines |
| ZIP-Archiv | Nicht unterstützt |
Grundlegende Verwendung
Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.
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.