writing_import
Verify a harness-produced .tex document against writing gates and register it as a draft artifact; provide draft_path or draft_text, with draft_text taking precedence.
Instructions
Verify a harness-produced .tex document against the writing gates and register it as a draft artifact. Pass draft_path or draft_text (draft_text wins when both are given).
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": {
"workspace": "<workspace>",
"run_id": "<run_id>"
},
"name": "writing_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| title | No | ||
| topic | No | ||
| phases | No | ||
| run_id | Yes | ||
| outline | No | ||
| abstract | No | ||
| main_tex | No | ||
| sections | No | ||
| workspace | Yes | ||
| draft_path | No | ||
| draft_text | No | ||
| provenance | No | ||
| cite_rounds | No | ||
| key_sources | No | ||
| plan_run_id | No | ||
| thesis_type | No | ||
| instructions | No | ||
| context_paths | No | ||
| document_kind | No | ||
| document_path | No | ||
| main_tex_path | No | ||
| thesis_profile | No | ||
| reference_paths | No | ||
| research_design | No | ||
| locators_payload | No | ||
| provenance_block | No | ||
| require_locators | No | ||
| bibliography_path | No | ||
| min_grounding_ratio | No | ||
| context_budget_bytes | No | ||
| min_words_per_section | No | ||
| reference_budget_bytes | No |