create_task
새 태스크 생성. 필수 필드: content.
시그니처
json
{
"name": "create_task",
"arguments": {
"content": "강남역 미팅 준비",
"due_date": "2026-05-08T10:00:00+09:00",
"is_important": true,
"category_id": "uuid-here",
"location": "강남역 3번 출구 스타벅스",
"notification_minutes_before": 30
}
}파라미터
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
content | string | ✅ | 태스크 내용 (자연어 OK) |
due_date | string (ISO) | 마감일 (예: 2026-04-21T15:00:00+09:00) | |
due_time | string HH:MM | 시간만 (due_date 에 시간 없을 때) | |
start_date | string (ISO) | 다일 이벤트 시작일 | |
is_all_day | boolean | 종일 일정 | |
is_important | boolean | 중요 표시 | |
category_id | string (UUID) | 카테고리 ID (list_categories 로 조회) | |
notes | string | 자유 메모 / 상세 | |
location | string | 사람용 위치 (예: "Starbucks Gangnam") | |
location_lat | number | GPS 위도 | |
location_lng | number | GPS 경도 | |
travel_time | number | 마감 N분 전 이동시간 (알림 스케줄링) | |
repeat_rule | string | 반복 규칙 (daily, weekly, monthly 또는 RRULE) | |
notification_minutes_before | number | 마감 N분 전 알림 (due_date 필요) |
응답
json
{
"content": [
{
"type": "text",
"text": "✅ 태스크 생성됨 — \"강남역 미팅 준비\" (내일 10:00)"
}
]
}Claude 자연어
"내일 오전 10시 강남역 미팅 준비, 30분 전 알림" 추가→ Claude 가 자연어를 파싱해서 due_date, location, notification_minutes_before 추출 후 호출.
에러
| 코드 | 메시지 | 원인 |
|---|---|---|
| -32602 | Task content is required | content 누락 |
| -32602 | Invalid due_date format | ISO 8601 아님 |
| -32602 | Category not found or not accessible | category_id 잘못 |