Skip to main content
Action 이 Agent 결정 발화. Tool (Agent 가 실행 중 선택) 과 달리 Action 은 와이어링 기반 실행: Flow 가 발화 여부 결정, Agent 출력이 무엇 전달할지 결정. Tool 과 같은 명령 모양, 파라미터 제외 (Action 은 LLM 선택 인자 없음).

명령

actions create

플래그:
  • --name <n> (필수).
  • --description <d>.
  • --runtime <json> — HTTP 나 인라인 런타임 스펙 (Tool 과 같은 모양).
  • --x <n>, --y <n> — 캔버스 위치.

actions update

Update 플래그

정체성
  • --set-name <n>
  • --set-description <d>
  • --set-icon <name>
승인
  • --set-approval on|off — 발화 전 승인 요구.
HTTP 런타임
  • --set-runtime-kind http|inline
  • --set-http-method <m>
  • --set-http-url <url>
  • --set-http-auth-kind <k>
  • --set-http-auth-header <name>
  • --set-http-auth-value <v>
Inline 런타임
  • --set-inline-lang <lang>
  • --set-inline-code <text> / --set-inline-code-file <path>
위치/크기
  • --set-x <n>, --set-y <n>, --set-width <n>
벌크
  • --patch <json>

actions edit

actions delete

Action 제거; 와이어 가지치기.

actions headers

Tool 과 같은 모양:
시크릿 값은 secrets://<ref> 로. 인터랙티브는 --value ?. 파이핑·시크릿 참고.

Tool vs. Action — 빠른 상기

법칙: Agent 가 결과로 더 추론해야 할 수 있으면 Tool. 답변 후 fire-and-forget 이면 Action.

레시피

승인 게이트 있는 Slack 알림 추가

이제 모든 Slack 게시가 승인 기다림.

헤더 로테이션 마이그레이션