Update custom dashboard
update_custom_dashboardUpdate Document
When to use: 단일 커스텀 대시보드 문서 하나의 이름·정의(body)를 낙관적 동시성(expected_version)으로 안전하게 수정할 때. 공유 편집(editor 이상) 또는 소유자가 사용한다.
When NOT to use: 여러 문서를 한 번에 고치려면 update_custom_dashboards(일괄)를 쓴다. 삭제는 delete_custom_dashboard, 값 조회는 evaluate_chart_document.
Limitations: path.document_id 필수. body.expected_version 가 서버의 현재 version 과 다르면 409(충돌 상태 동봉)로 거부한다(expected_version 생략 시 OCC 우회, legacy/bulk 경로). body 를 바꾸는 수정은 감사 스냅샷을 남긴다. custom_dashboard:write 권한 필요.
Examples:
Q: 이 대시보드 이름을 '캠페인 성과'로 바꿔줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}, 'body': {'name': '캠페인 성과', 'body': {}, 'expected_version': 3}}
Output shape: object: {id, name, body, version, 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": {
"document_id": "<document_id>",
"project-id": "<project-id>"
},
"name": "update_custom_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| body | No | ||
| name | No | ||
| project-id | Yes | ||
| sort_order | No | ||
| document_id | Yes | ||
| expected_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||