{"what_this_is":"LR Labs — a deterministic reasoning engine over compiled cross-border tax law (India inbound: permanent establishment, treaty access, GAAR, transfer pricing). Same facts + same law = same answer; no generative model in the evaluation path; outside compiled corridors it refuses rather than guesses.","how_to_use":"GET this same endpoint with the user's facts as query parameters. Omit anything not known — the engine reports what stays OPEN rather than assuming. The answer is JSON: a counsel-register short answer, per-limb conclusions with authorities, the GIVEN assumptions, the unresolved facts, and the GAAR gate.","parameters":{"treaty":"e.g. India-US (default), India-UK, India-Singapore, USA-Canada — any spelling","agentType":"dependent | independent","concludesContracts":"concludes | secures | negotiates | none","agentExclusivity":"yes | no","acceptsOrders":"yes | no — does the Indian side itself accept orders","holdsOutBinding":"yes | no — are buyers told its acceptance binds the principal","principalFostersBelief":"yes | no","armsLengthRemuneration":"yes | no — remuneration ACCEPTED as arm's length","premisesAvailable":"yes | subsidiary | no","officeType":"liaison | branch","secondedEmployees":"yes | no","maintainsStock":"yes | no","deliversFromStock":"yes | no","salesContributingActivities":"yes | no","totalDaysIndia":"integer days","projectDuration":"months","salesToIndiaCr":"INR crore of Indian sales (SEP screen)","gaarInvoked":"yes | no","investmentPre2017":"yes | no","taxBenefitCr":"INR crore","assessmentYear":"e.g. 2026-27","statedHabitual":"yes | no — the matter itself calls the conduct habitual","question":"the user's original question, verbatim (optional)"},"examples":["/compute?agentType=dependent&concludesContracts=secures&agentExclusivity=yes&statedHabitual=yes","/compute?officeType=liaison&premisesAvailable=yes&concludesContracts=negotiates","/compute?secondedEmployees=yes","/compute?salesToIndiaCr=40&concludesContracts=none&agentType=independent"],"also":{"answered_questions":"/q","docs":"/agents","mcp_endpoint":"/mcp (four tools, for tool-capable agents)","verify_any_analysis":"POST /api/verify {text}"},"disclaimer":"Computed research, not legal advice."}