Get chart options schema
get_chart_spec_json_schemaGet Spec Json Schema
When to use: 차트 스펙 문서(get_chart_spec 응답의 spec 필드, {version, spec} 래퍼 자체가 아님) 자체를 코드로 직접 파싱하거나, 그 구조로부터 검증기를 생성할 구조적 스키마(JSON Schema)가 필요할 때. 값 목록·기본값이 아니라 스펙 문서의 필드 타입·필수 여부 같은 구조 자체를 돌려준다 — 실제 값 목록이 필요하면 spec 도구를 쓴다.
Limitations: 버전 파라미터가 없다 — 항상 최신 스펙 하나만 반환하며, 과거 버전의 json-schema 는 조회할 수 없다. 개별 차트 설정(body)을 검증하려면 이 스키마가 아니라 spec 도구 응답의 spec.chart_types[*].config_schema 를 쓰고, 컴파일된 body 의 유효성은 compile_chart_body 로 확인한다.
Examples:
Q: 차트 스펙 문서를 코드로 파싱할 수 있게 구조적 스키마로 줘 params: {}
Output shape: object: JSON Schema
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_chart_spec_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||