🔧Tool Prompts/integration
Remote Trigger Tool
src/tools/RemoteTriggerTool/prompt.ts
Prompt Engineering Insight
Scoped API surface with explicit HTTP verbs; emphasizes in-process auth so the model never handles tokens in shell.
Techniques Used
tool-use-guidancescope-limitingguardrails
prompt
Call the claude.ai remote-trigger API. Use this instead of curl — the OAuth token is added automatically in-process and never exposed.
Actions:
- list: GET /v1/code/triggers
- get: GET /v1/code/triggers/{trigger_id}
- create: POST /v1/code/triggers (requires body)
- update: POST /v1/code/triggers/{trigger_id} (requires body, partial update)
- run: POST /v1/code/triggers/{trigger_id}/run
The response is the raw JSON from the API.
Tags
ccrremoteoauthapi