{"service":"HALOWERK modellwerk","endpoint":"/v1/context-plan","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["text","model"],"additionalProperties":false,"properties":{"text":{"type":"string","minLength":1,"maxLength":2000000,"description":"The document to split."},"model":{"type":"string","description":"Target model id, e.g. claude-opus-5."},"expected_output_tokens":{"type":"integer","minimum":0,"default":2000,"description":"Room to reserve for the answer per chunk."},"system_prompt_tokens":{"type":"integer","minimum":0,"default":500,"description":"Room to reserve for the system prompt per chunk."},"overlap_tokens":{"type":"integer","minimum":0,"maximum":20000,"default":0,"description":"Tokens of the previous chunk repeated at the start of the next."},"safety_margin":{"type":"number","minimum":0,"maximum":0.5,"default":0.1,"description":"Fraction of the window held back against estimation error. 0.1 = 10 percent."},"boundary":{"type":"string","enum":["absatz","zeile","satz","auto"],"default":"auto","description":"Where to cut. auto tries paragraph, then line, then sentence."}}},"requestExample":{"text":"First section with the customer requirements.\n\nSecond section with implementation constraints and acceptance criteria.","model":"gpt-5-mini","expected_output_tokens":800,"boundary":"auto"},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["text","model"],"additionalProperties":false,"properties":{"text":{"type":"string","minLength":1,"maxLength":2000000,"description":"The document to split."},"model":{"type":"string","description":"Target model id, e.g. claude-opus-5."},"expected_output_tokens":{"type":"integer","minimum":0,"default":2000,"description":"Room to reserve for the answer per chunk."},"system_prompt_tokens":{"type":"integer","minimum":0,"default":500,"description":"Room to reserve for the system prompt per chunk."},"overlap_tokens":{"type":"integer","minimum":0,"maximum":20000,"default":0,"description":"Tokens of the previous chunk repeated at the start of the next."},"safety_margin":{"type":"number","minimum":0,"maximum":0.5,"default":0.1,"description":"Fraction of the window held back against estimation error. 0.1 = 10 percent."},"boundary":{"type":"string","enum":["absatz","zeile","satz","auto"],"default":"auto","description":"Where to cut. auto tries paragraph, then line, then sentence."}}},"requestExample":{"text":"First section with the customer requirements.\n\nSecond section with implementation constraints and acceptance criteria.","model":"gpt-5-mini","expected_output_tokens":800,"boundary":"auto"}}],"example_request":{"text":"First section with the customer requirements.\n\nSecond section with implementation constraints and acceptance criteria.","model":"gpt-5-mini","expected_output_tokens":800,"boundary":"auto"},"serviceName":"context_plan","tags":["llm","context","planning"],"outputSchema":{"type":"object"},"outputExample":{"model":"gpt-5-mini","fits_in_one_pass":true,"chunks":1,"tokens":{"total":26,"usable_per_chunk":358830,"context_window":400000,"reserved_for_system":500,"reserved_for_output":800,"safety_margin":0.1},"estimate_basis":"118 Zeichen, 14 Woerter, 4.00 Zeichen/Token angenommen","cost_usd":0.001731,"plan":[],"advice":"Der Text passt in einen Aufruf. Aufteilen wuerde nur Kosten und Fehlerquellen erzeugen.","limits":"Tokenzahlen sind geschaetzt, nicht tokenisiert."}}