Extract to Markdown
extract_to_markdownExtract structured documents (.docx, .xlsx, .csv, .tsv, .pptx) into Markdown through Frenchie. stdio mode auto-saves the result to .frenchie//result.md; HTTP mode returns inline Markdown.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional Frenchie API key (fr_...). Falls back to the FRENCHIE_API_KEY env var when omitted. | |
| file_path | No | Absolute local file path. Stdio transport only — over HTTP, upload via upload_file first and pass uploaded_file_reference instead. | |
| uploaded_file_reference | No | Object key returned by upload_file. Required for HTTP transport; ignored when file_path is provided in stdio. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | ||
| result | No | ||
| status | Yes | ||
| creditsUsed | No | ||
| resultExpiresAt | No | ||
| estimatedCompletion | No |