get_problem_programmers
Fetch Programmers problem details including title, description, constraints, and examples to prepare for solving, review, or code analysis.
Instructions
프로그래머스 문제 상세 정보 조회 (웹 스크래핑).
프로그래머스 페이지에서 문제 제목, 설명, 제한사항, 입출력 예제를 가져옵니다.
응답 구조: problemId, title, level, category, description, constraints, examples, tags
사용 시나리오:
프로그래머스 문제 풀이 전 문제 본문 확인
문제 복습 시 문제 내용 참조
코드 분석 시 문제 요구사항 비교
제한사항:
스크래핑 대상: https://school.programmers.co.kr/learn/courses/30/lessons/{problem_id}
타임아웃: 10초
재시도: 최대 2회
Rate Limiting: 초당 1회
참고:
BOJ와 다르게 프로그래머스는 fetch + cheerio 사용 (SSR 페이지)
프로그래머스는 태그 정보가 없으므로 tags 필드는 빈 배열
⚠️ 플랫폼 판별: 문제 번호만 입력된 경우 대화 맥락에서 플랫폼을 파악하거나, 맥락이 없으면 반드시 BOJ/프로그래머스 중 어느 플랫폼인지 사용자에게 확인 후 호출하세요.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem_id | Yes | 문제 ID 또는 프로그래머스 URL. 예: 42748 또는 https://school.programmers.co.kr/learn/courses/30/lessons/42748 |