{"schema": "cks-public-reference/v1", "entry": {"id": "api-01a12d6e89b9d5", "name": "Settlement::AIRun", "member": "AIRun", "family": "Settlement", "returns": "void", "args": ["str"], "kind": "method", "signature": "void Settlement::AIRun(str)", "language": "en", "summary": "Looks up the named AI script in the owning player's context and, if found, invokes it with the settlement as its context.", "notes": "The argument is the name used to resolve the AI script path. The reviewed path directly invokes execution with a temporary context representing the same settlement. A missing script produces a diagnostic. Use a valid settlement. Resumption of scripts that wait and their subsequent effects are outside this entry.", "examples": [], "technical": true, "description_status": "documented"}}