Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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);
        }
      },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mission69b/t2000'

If you have feedback or need assistance with the MCP directory API, please join our Discord server