forked from
oppi.li/claude-code
source dump of claude code
1export const REMOTE_TRIGGER_TOOL_NAME = 'RemoteTrigger'
2
3export 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
6export 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
8Actions:
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
15The response is the raw JSON from the API.`