t2000_lock
Freeze all agent operations immediately as an emergency stop. Only a human can unlock via terminal command.
Instructions
Freeze all agent operations immediately. Only a human can unlock via t2000 unlock in the terminal. Use this as an emergency stop.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- packages/mcp/src/tools/safety.ts:61-81 (handler)The registration and handler implementation of the 't2000_lock' tool, which calls 'agent.enforcer.lock()' to freeze operations.
server.tool( 't2000_lock', 'Freeze all agent operations immediately. Only a human can unlock via `t2000 unlock` in the terminal. Use this as an emergency stop.', {}, async () => { try { agent.enforcer.lock(); return { content: [{ type: 'text', text: JSON.stringify({ locked: true, message: 'Agent locked. Only a human can unlock via: t2000 unlock', }), }], }; } catch (err) { return errorResult(err); } }, );