post_extract_custom
CUSTOM EXTRACTION — POST {content, schema} and get structured JSON back. Define fields as {"company":"string","total":"number","due_date":"date"} (types or plain-language descriptions) and the engine pulls them from any unstructured text: emails, invoices, job posts, resumes, chat logs. Missing fields return null — never invented. Content up to 16,000 chars, 40 fields max. Parsing a PDF/DOCX/CSV by URL first? GET /api/extract ($0.02). ($0.01 per call, paid via x402)
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": {
"content": "<content>",
"schema": "<schema>"
},
"name": "post_extract_custom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Fields to extract: {name: type-or-description}. Types: string, number, boolean, date, string[], number[] — or a plain-language description ('the total in USD') | |
| content | Yes | The unstructured text to extract from, up to 16,000 characters | |
| instructions | No | Optional extra guidance, e.g. 'dates are DD/MM/YYYY in this document' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | one key per schema field; null where the content had no answer | |
| model | No | ||
| usage | No | ||
| missing | No | names of fields that came back null |