Test Post-Processing Code
test_postprocessing_codeRun Airparser post-processing Python code against an existing parsed document without saving it.
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": {
"inbox_id": "<inbox_id>",
"document_id": "<document_id>",
"code": "<code>"
},
"name": "test_postprocessing_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python function body to run inside the restricted Airparser post-processing wrapper. | |
| inbox_id | Yes | Airparser inbox id. | |
| document_id | Yes | Parsed Airparser document id. |