/ tools / RemoteTriggerTool / prompt.ts
prompt.ts
 1  export const REMOTE_TRIGGER_TOOL_NAME = 'RemoteTrigger'
 2  
 3  export const DESCRIPTION =
 4    'Manage scheduled remote Claude Code agents (triggers) via the claude.ai CCR API. Auth is handled in-process — the token never reaches the shell.'
 5  
 6  export const PROMPT = `Call the claude.ai remote-trigger API. Use this instead of curl — the OAuth token is added automatically in-process and never exposed.
 7  
 8  Actions:
 9  - list: GET /v1/code/triggers
10  - get: GET /v1/code/triggers/{trigger_id}
11  - create: POST /v1/code/triggers (requires body)
12  - update: POST /v1/code/triggers/{trigger_id} (requires body, partial update)
13  - run: POST /v1/code/triggers/{trigger_id}/run
14  
15  The response is the raw JSON from the API.`