Get custom dashboard
get_custom_dashboardGet Document
When to use: 리포트(REPORT) 안에 어떤 위젯이 있는지 볼 때 — body.layouts[].id(없으면 .i)가 각 위젯 문서의 id 이다(타입은 CHART/TEXT/IMAGE/MEDIA/FRAME/PDF 등 다양하며 layouts 자체엔 없다). 이 중 CHART 타입만 evaluate_chart_document 로 값을 얻을 수 있고(그 외 타입이면 422), CHART 위젯을 가리려면 자식 문서를 조회하거나 search_custom_dashboards(document_type=CHART) 로 찾는다. 기존 리포트에 위젯을 추가하기 전에 배치(layouts)와 버전을 확인할 때도 쓴다. document_id 하나로 대시보드 화면과 동일한 최신 상태를 읽는다.
Limitations: 이 프로젝트의 문서만 조회한다. 없으면 404, custom_dashboard:read 권한(시스템 역할 또는 공유)이 없으면 403. 응답의 version 을 단건 수정 tool(update_custom_dashboard)의 expected_version 으로 넘기면, 그사이 다른 사람이 고친 문서를 덮어쓰지 않고 409 로 알 수 있다.
Examples:
Q: 이 리포트의 최신 구성과 버전을 보여줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}}
Output shape: object: DocumentRes {id, name, type, body, version, updated_at, is_pinned, ...} — version 은 update_custom_dashboard 의 expected_version 소스
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": {
"document_id": "<document_id>",
"project-id": "<project-id>"
},
"name": "get_custom_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project-id | Yes | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||