Create custom dashboard
create_custom_dashboardCreate Document
When to use: 사용자가 새 커스텀 대시보드 문서(차트 CHART·리포트 REPORT·디렉토리 DIRECTORY 등)를 만들어 저장하려 할 때. body 로 문서 정의 JSON 을 넘기면 새 document_id 를 발급해 저장한다.
When NOT to use: 기존 문서의 이름·정의를 바꾸는 것은 update_custom_dashboard(단건) 또는 update_custom_dashboards(일괄)를 쓴다. 차트 값 조회/평가는 evaluate_chart_document 를 쓴다.
Limitations: 생성 전용 — 이미 존재하는 문서를 갱신하지 않는다(항상 새 row). type 은 DocumentType enum(CHART/REPORT/DIRECTORY/TEXT/FRAME/MEDIA/IMAGE/PDF), body 는 필수 정의 JSON이다. CHART 타입의 body 는 차트 컴파일 tool(compile_chart_body) 응답의 body 필드를 그대로 넣는다. 응답 전체({body, version, warnings})를 넣으면 컴파일 게이트가 422 로 거부한다. compile 호출이 실패하면 body 를 손으로 조립해 재시도하지 말고 실패를 사용자에게 알린다. custom_dashboard:create 권한(프로젝트 멤버십) 필요. REPORT 타입은 name 이 필수.
Examples:
Q: '월별 순매출' 차트를 새로 하나 만들어줘 params: {'body': {'type': 'CHART', 'name': '월별 순매출', 'body': {}}}
Output shape: object: {id, name, type, body, version, created_at, updated_at}
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": {
"type": "<type>",
"body": "<body>"
},
"name": "create_custom_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| name | No | ||
| type | Yes | ||
| project-id | No | ||
| sort_order | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||