Export With Fidelity Report
export_with_fidelity_reportExport a document as markdown with a fidelity report identifying content that may be lost or unsupported.
Instructions
Export document markdown together with a structured fidelity report that highlights markdown loss risk and unsupported AFFiNE-native content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"docId": "<docId>"
},
"name": "export_with_fidelity_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| includeFrontmatter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| exists | Yes | ||
| fidelity | Yes | ||
| markdown | Yes |