Run action
execute_actionExecute Action
When to use: 사용자가 확인한 쓰기(등급 A · B)를 실행할 때.
Limitations: Idempotency-Key 헤더(UUID)는 사용자 의도 하나에 하나 — 재시도 때 같은 값을 보내면 첫 결과를 돌려준다(replayed=true), 같은 키에 다른 입력은 422, 첫 요청이 아직 실행 중이면 409(Retry-After). 등급 B 는 preview_action 의 confirmation_token 필수(없음 · 만료 · 입력 다름 → 422). 등급 C 는 409(실행 불가) — create_action_proposal 로 제안한다.
Examples:
Q: 그 캠페인 초안 만들어줘 params: {'path': {'action_type': 'crm_campaign_create'}, 'body': {'input': {'name': '10월 재구매 유도', 'segment_id': 12}}}
Output shape: single ExecuteResponse
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action_type": "<action_type>",
"Idempotency-Key": "<Idempotency-Key>"
},
"name": "execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | ||
| project-id | No | ||
| action_type | Yes | ||
| Idempotency-Key | Yes | 요청 의도 하나에 하나(UUID 권장). 재시도 때 같은 값을 보내면 첫 응답을 돌려준다(24시간). 같은 키에 다른 본문은 422. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||