MCPサーバー

Priority — TypeScript Compiler Intelligence

dev.semanticreader/semantic-reader
開発者向けツール 公開・接続可能 MCP 2025-11-25

このMCPでできること

Analyzes supplied TypeScript and JavaScript source files for symbols, definitions, references, imports, types, diagnostics and bounded dependency impact.

analyze_impact
Analyze Impact
Return bounded reverse-caller impact for one exact compiler symbol.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['symbol'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 24000, 'minimum': 0}, 'symbol': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'compact': {'type': 'boolean', 'default': True}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'analyzer', 'snapshot', 'query', 'items', 'total', 'total_found', 'returned', 'truncated', 'next_offset', 'coverage', 'limits'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'query': {'type': 'string'}, 'total': {'type': 'number'}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string'}, 'symbol': {}, 'analyzer': {'type': 'string'}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}, 'total_found': {'type': 'number'}}, 'additionalProperties': True}
find_references
Find References
Return semantic static references to one exact compiler symbol.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['symbol'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 24000, 'minimum': 0}, 'symbol': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'compact': {'type': 'boolean', 'default': True}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'analyzer', 'snapshot', 'query', 'items', 'total', 'total_found', 'returned', 'truncated', 'next_offset', 'coverage', 'limits'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'query': {'type': 'string'}, 'total': {'type': 'number'}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string'}, 'symbol': {}, 'analyzer': {'type': 'string'}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}, 'total_found': {'type': 'number'}}, 'additionalProperties': True}
find_symbol
Find Symbol
Resolve a symbol name to deterministic ranked compiler symbol candidates; safely reports ambiguity.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'kind': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'name': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 10, 'maximum': 10, 'minimum': 1}, 'compact': {'type': 'boolean', 'default': True}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'n': {'type': 'number'}, 'r': {'enum': ['r', 'a', 'n'], 'type': 'string'}, 't': {'type': 'integer', 'maximum': 1, 'minimum': 0}, 'v': {'type': 'number', 'const': 1}, 'x': {'type': 'array', 'items': {'type': 'array', 'items': [{'type': 'string'}, {'type': 'string'}, {'type': 'string'}, {'type': 'string'}, {'type': 'number'}, {'type': 'number'}, {'type': 'string'}], 'maxItems': 7, 'minItems': 7}}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'kind', 'at', 'match'], 'properties': {'at': {'type': 'array', 'items': [{'type': 'string'}, {'type': 'number'}, {'type': 'number'}], 'maxItems': 3, 'minItems': 3}, 'id': {'type': 'string'}, 'kind': {'type': 'string'}, 'name': {'type': 'string'}, 'match': {'enum': ['exact', 'case_insensitive_exact', 'qualified_suffix', 'prefix', 'substring'], 'type': 'string'}}, 'additionalProperties': False}}, 'query': {'type': 'string'}, 'total': {'type': 'number'}, 'schema': {'type': 'string', 'const': 'semantic-reader/find-symbol/0.2'}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'resolution': {'enum': ['resolved', 'ambiguous', 'not_found'], 'type': 'string'}}, 'additionalProperties': False}
get_capabilities
Get Capabilities
Return Semantic Reader capabilities, limits, billing and discovery facts.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'properties': {}}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'version'], 'properties': {'ops': {'type': 'object', 'additionalProperties': {}}, 'name': {'type': 'string'}, 'input': {'type': 'object', 'additionalProperties': {}}, 'stage': {'type': 'string'}, 'billing': {'type': 'object', 'additionalProperties': {}}, 'queries': {'type': 'array', 'items': {'type': 'string'}}, 'version': {'type': 'string'}, 'discovery': {'type': 'object', 'additionalProperties': {}}, 'languages': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': True}
get_definition
Get Definition
Return the compiler-resolved declaration for one supplied-file symbol.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'kind': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'name': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'snapshot', 'symbol', 'definition', 'total', 'returned', 'truncated', 'next_offset', 'coverage', 'limits'], 'properties': {'total': {'type': 'number'}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string', 'const': 'semantic-reader/get-definition/0.1'}, 'symbol': {'type': 'object', 'required': ['id', 'name', 'kind', 'at', 'match'], 'properties': {'at': {'type': 'array', 'items': [{'type': 'string'}, {'type': 'number'}, {'type': 'number'}], 'maxItems': 3, 'minItems': 3}, 'id': {'type': 'string'}, 'kind': {'type': 'string'}, 'name': {'type': 'string'}, 'match': {'enum': ['exact', 'case_insensitive_exact', 'qualified_suffix', 'prefix', 'substring'], 'type': 'string'}}, 'additionalProperties': False}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'definition': {'anyOf': [{'type': 'object', 'additionalProperties': {}}, {'type': 'null'}]}, 'next_offset': {'type': ['number', 'null']}}, 'additionalProperties': False}
get_diagnostics
Get Diagnostics
Return bounded TypeScript syntactic and semantic diagnostics for supplied files.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': [], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 50, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 24000, 'minimum': 0}, 'compact': {'type': 'boolean', 'default': True}, 'packages': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'version', 'integrity'], 'properties': {'name': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'version': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'integrity': {'type': 'string', 'maxLength': 120, 'minLength': 8}}, 'additionalProperties': False}, 'maxItems': 8, 'minItems': 1}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}, 'tsconfig': {'type': 'object', 'properties': {'compilerOptions': {'type': 'object', 'properties': {'jsx': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'paths': {'type': 'object', 'propertyNames': {'minLength': 1}, 'additionalProperties': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}}, 'module': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'strict': {'type': 'boolean'}, 'target': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'allowJs': {'type': 'boolean'}, 'baseUrl': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'checkJs': {'type': 'boolean'}, 'esModuleInterop': {'type': 'boolean'}, 'moduleDetection': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'moduleResolution': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'resolveJsonModule': {'type': 'boolean'}, 'verbatimModuleSyntax': {'type': 'boolean'}, 'allowSyntheticDefaultImports': {'type': 'boolean'}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'b': {'type': 'object', 'required': ['cw', 'ndl', 'gdi', 'complete', 'pkg', 'net'], 'properties': {'cw': {'type': 'boolean'}, 'gdi': {'type': 'boolean'}, 'ndl': {'type': 'boolean'}, 'net': {'type': ['number', 'null']}, 'pkg': {'type': 'number'}, 'complete': {'type': 'boolean'}}, 'additionalProperties': False}, 'd': {'type': 'array', 'items': {'type': 'array', 'items': [{'type': 'integer'}, {'type': 'string'}, {'type': 'string'}, {'type': 'integer'}, {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, {'type': 'string'}], 'maxItems': 9, 'minItems': 9}}, 'f': {'type': 'array', 'items': {'type': 'string'}}, 'n': {'type': 'number'}, 'p': {'type': ['string', 'null']}, 'v': {'type': 'number', 'const': 1}, 'next': {'type': ['number', 'null']}, 'path': {'type': ['string', 'null']}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['phase', 'category', 'code', 'message', 'file', 'line', 'column', 'end_line', 'end_column'], 'properties': {'code': {'type': 'integer'}, 'file': {'type': ['string', 'null']}, 'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, 'phase': {'enum': ['syntactic', 'semantic'], 'type': 'string'}, 'column': {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, 'message': {'type': 'string'}, 'category': {'type': 'string'}, 'end_line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}, 'end_column': {'anyOf': [{'type': 'integer'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'total': {'type': 'number'}, 'counts': {'type': 'object', 'additionalProperties': {'type': 'number'}}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string', 'const': 'semantic-reader/get-diagnostics/0.1'}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}, 'total_found': {'type': 'number'}}, 'additionalProperties': False}
get_importers
Get Importers
Return supplied files that statically import one target file.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['symbol'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 24000, 'minimum': 0}, 'symbol': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'compact': {'type': 'boolean', 'default': True}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'analyzer', 'snapshot', 'query', 'items', 'total', 'total_found', 'returned', 'truncated', 'next_offset', 'coverage', 'limits'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'query': {'type': 'string'}, 'total': {'type': 'number'}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string'}, 'symbol': {}, 'analyzer': {'type': 'string'}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}, 'total_found': {'type': 'number'}}, 'additionalProperties': True}
get_imports
Get Imports
Return static imports made by one supplied file.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['symbol'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 24000, 'minimum': 0}, 'symbol': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'compact': {'type': 'boolean', 'default': True}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'analyzer', 'snapshot', 'query', 'items', 'total', 'total_found', 'returned', 'truncated', 'next_offset', 'coverage', 'limits'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'query': {'type': 'string'}, 'total': {'type': 'number'}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string'}, 'symbol': {}, 'analyzer': {'type': 'string'}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}, 'total_found': {'type': 'number'}}, 'additionalProperties': True}
get_symbol_context
Get Symbol Context
Return bounded definition/callers/callees context; references or impact request paid depth.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'kind': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'name': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'include': {'type': 'array', 'items': {'enum': ['definition', 'references', 'callers', 'callees', 'impact'], 'type': 'string'}, 'maxItems': 5, 'minItems': 1}, 'offsets': {'type': 'object', 'properties': {'impact': {'type': 'integer', 'maximum': 24000, 'minimum': 0}, 'callees': {'type': 'integer', 'maximum': 24000, 'minimum': 0}, 'callers': {'type': 'integer', 'maximum': 24000, 'minimum': 0}, 'definition': {'type': 'integer', 'maximum': 24000, 'minimum': 0}, 'references': {'type': 'integer', 'maximum': 24000, 'minimum': 0}}, 'additionalProperties': False}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}, 'per_section_limit': {'type': 'integer', 'default': 4, 'maximum': 32, 'minimum': 1}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'snapshot', 'symbol', 'include', 'paid_sections_requested', 'per_section_limit', 'sections'], 'properties': {'schema': {'type': 'string', 'const': 'semantic-reader/symbol-context/0.1'}, 'symbol': {'type': 'object', 'required': ['id', 'name', 'kind', 'at', 'match'], 'properties': {'at': {'type': 'array', 'items': [{'type': 'string'}, {'type': 'number'}, {'type': 'number'}], 'maxItems': 3, 'minItems': 3}, 'id': {'type': 'string'}, 'kind': {'type': 'string'}, 'name': {'type': 'string'}, 'match': {'enum': ['exact', 'case_insensitive_exact', 'qualified_suffix', 'prefix', 'substring'], 'type': 'string'}}, 'additionalProperties': False}, 'include': {'type': 'array', 'items': {'enum': ['definition', 'references', 'callers', 'callees', 'impact'], 'type': 'string'}}, 'sections': {'type': 'object', 'properties': {'impact': {'$ref': '#/properties/sections/properties/definition'}, 'callees': {'$ref': '#/properties/sections/properties/definition'}, 'callers': {'$ref': '#/properties/sections/properties/definition'}, 'definition': {'type': 'object', 'required': ['items', 'total', 'returned', 'truncated', 'next_offset'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'returned': {'type': 'number'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}}, 'additionalProperties': False}, 'references': {'$ref': '#/properties/sections/properties/definition'}}, 'additionalProperties': False}, 'snapshot': {'type': 'string'}, 'per_section_limit': {'type': 'number'}, 'paid_sections_requested': {'type': 'array', 'items': {'enum': ['references', 'impact'], 'type': 'string'}}}, 'additionalProperties': False}
get_type
Get Type
Return TypeScript type facts and call/construct signatures for one declaration.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'kind': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'name': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'packages': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'version', 'integrity'], 'properties': {'name': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'version': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'integrity': {'type': 'string', 'maxLength': 120, 'minLength': 8}}, 'additionalProperties': False}, 'maxItems': 8, 'minItems': 1}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}, 'tsconfig': {'type': 'object', 'properties': {'compilerOptions': {'type': 'object', 'properties': {'jsx': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'paths': {'type': 'object', 'propertyNames': {'minLength': 1}, 'additionalProperties': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}}, 'module': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'strict': {'type': 'boolean'}, 'target': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'allowJs': {'type': 'boolean'}, 'baseUrl': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'checkJs': {'type': 'boolean'}, 'esModuleInterop': {'type': 'boolean'}, 'moduleDetection': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'moduleResolution': {'type': 'string', 'maxLength': 40, 'minLength': 1}, 'resolveJsonModule': {'type': 'boolean'}, 'verbatimModuleSyntax': {'type': 'boolean'}, 'allowSyntheticDefaultImports': {'type': 'boolean'}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'snapshot', 'symbol', 'declared_type', 'value_type', 'apparent_type', 'call_signatures', 'construct_signatures', 'coverage', 'limits'], 'properties': {'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string', 'const': 'semantic-reader/get-type/0.1'}, 'symbol': {'type': 'object', 'required': ['id', 'name', 'kind', 'at', 'match'], 'properties': {'at': {'type': 'array', 'items': [{'type': 'string'}, {'type': 'number'}, {'type': 'number'}], 'maxItems': 3, 'minItems': 3}, 'id': {'type': 'string'}, 'kind': {'type': 'string'}, 'name': {'type': 'string'}, 'match': {'enum': ['exact', 'case_insensitive_exact', 'qualified_suffix', 'prefix', 'substring'], 'type': 'string'}}, 'additionalProperties': False}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'snapshot': {'type': 'string'}, 'value_type': {'type': ['string', 'null']}, 'apparent_type': {'type': ['string', 'null']}, 'declared_type': {'type': ['string', 'null']}, 'call_signatures': {'type': 'array', 'items': {'type': 'string'}}, 'construct_signatures': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}
open_snapshot
Open Snapshot
Store supplied source files ephemerally and return an opaque snapshot handle for reuse.
読み取り専用
入力スキーマ
{'type': 'object', 'required': ['files'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180}, 'content': {'type': 'string', 'maxLength': 65536}}, 'additionalProperties': False}, 'maxItems': 24, 'minItems': 1}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['snapshot', 'expires_in_seconds', 'supplied_files'], 'properties': {'snapshot': {'type': 'string'}, 'supplied_files': {'type': 'integer'}, 'expires_in_seconds': {'type': 'integer'}}, 'additionalProperties': False}
query_code
Query Code
Free navigation for symbols, callers, callees or function facts.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'oneOf': [{'required': ['files']}, {'required': ['snapshot']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 180, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 262144}}, 'additionalProperties': False}, 'maxItems': 96, 'minItems': 1}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'query': {'enum': ['symbols', 'callers', 'callees', 'function'], 'type': 'string'}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 24000, 'minimum': 0}, 'symbol': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'compact': {'type': 'boolean', 'default': False}, 'snapshot': {'type': 'string', 'maxLength': 100, 'minLength': 20}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['schema', 'analyzer', 'snapshot', 'query', 'items', 'total', 'total_found', 'returned', 'truncated', 'next_offset', 'coverage', 'limits'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'query': {'type': 'string'}, 'total': {'type': 'number'}, 'limits': {'type': 'array', 'items': {'type': 'string'}}, 'schema': {'type': 'string'}, 'symbol': {}, 'analyzer': {'type': 'string'}, 'coverage': {'type': 'object', 'additionalProperties': {}}, 'returned': {'type': 'number'}, 'snapshot': {'type': 'string'}, 'truncated': {'type': 'boolean'}, 'next_offset': {'type': ['number', 'null']}, 'total_found': {'type': 'number'}}, 'additionalProperties': True}
追加
analyze_impact
2026年9月17日12:39
追加
get_importers
2026年9月17日12:39
追加
get_imports
2026年9月17日12:39
追加
find_references
2026年9月17日12:39
追加
query_code
2026年9月17日12:39
追加
get_symbol_context
2026年9月17日12:39
追加
get_diagnostics
2026年9月17日12:39
追加
get_type
2026年9月17日12:39
追加
get_definition
2026年9月17日12:39
追加
find_symbol
2026年9月17日12:39
追加
get_capabilities
2026年9月17日12:39
追加
open_snapshot
2026年9月17日12:39