{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Lsproxy Docs","colors":{"primary":"#0D9373","light":"#2DB0B3","dark":"#0D9373"},"favicon":"logo/agentic_logo.png","logo":{"light":"https://mintcdn.com/agenticlabs-2964319e/iD3j-Tz9pOfvLayG/logo/agentic_logo.png?fit=max\u0026auto=format\u0026n=iD3j-Tz9pOfvLayG\u0026q=85\u0026s=2aa1671e6e2263e42bd436462418914a","dark":"https://mintcdn.com/agenticlabs-2964319e/iD3j-Tz9pOfvLayG/logo/agentic_logo.png?fit=max\u0026auto=format\u0026n=iD3j-Tz9pOfvLayG\u0026q=85\u0026s=2aa1671e6e2263e42bd436462418914a","href":"https://lsproxy.dev"},"api":{"playground":{"display":"simple"}},"navbar":{"primary":{"type":"github","href":"https://github.com/agentic-labs/lsproxy"}},"footer":{"socials":{"x":"https://x.com/agentic_labs","linkedin":"https://www.linkedin.com/company/agentic-labs"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agenticlabs-2964319e","hasAudioNarration":false,"actualSubdomain":"agenticlabs-2964319e","customDomains":["docs.lsproxy.dev"],"gitSource":{"type":"github","owner":"robmck1995","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae921c952a14f3f52ff7c91:success","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"symbol","count":5},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"workspace","count":2},{"language":"default","tag":"system","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/symbol/find-all-references-to-a-symbol","slug":"/api-reference/symbol/find-all-references-to-a-symbol","pageMetadata":{"title":"Find all references to a symbol","description":"The input position should point to the identifier of the symbol you want to get the references for.\n\nReturns a list of locations where the symbol at the given position is referenced.\n\nThe returned positions point to the start of the reference identifier.\n\ne.g. for `User` on line 0 of `src/main.py`:\n```\n 0: class User:\n input____^^^^\n 1: def __init__(self, name, age):\n 2: self.name = name\n 3: self.age = age\n 4:\n 5: user = User(\"John\", 30)\n output____^\n```","deprecated":null,"version":null,"openapi":"openapi.json post /symbol/find-references","href":"/api-reference/symbol/find-all-references-to-a-symbol","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"The input position should point to the identifier of the symbol you want to get the references for.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Returns a list of locations where the symbol at the given position is referenced.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The returned positions point to the start of the reference identifier.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"e.g. for \", _jsx(_components.code, {\n children: \"User\"\n }), \" on line 0 of \", _jsx(_components.code, {\n children: \"src/main.py\"\n }), \":\"]\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"9\",\n language: \"text\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"text\",\n children: _jsxs(_components.code, {\n language: \"text\",\n numberOfLines: \"9\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" 0: class User:\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" input____^^^^\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" 1: def __init__(self, name, age):\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" 2: self.name = name\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" 3: self.age = age\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" 4:\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" 5: user = User(\\\"John\\\", 30)\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \" output____^\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n })]\n })\n })\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Find all references to a symbol","description":"The input position should point to the identifier of the symbol you want to get the references for.\n\nReturns a list of locations where the symbol at the given position is referenced.\n\nThe returned positions point to the start of the reference identifier.\n\ne.g. for `User` on line 0 of `src/main.py`:\n```\n 0: class User:\n input____^^^^\n 1: def __init__(self, name, age):\n 2: self.name = name\n 3: self.age = age\n 4:\n 5: user = User(\"John\", 30)\n output____^\n```","deprecated":null,"version":null,"openapi":"openapi.json post /symbol/find-references","href":"/api-reference/symbol/find-all-references-to-a-symbol","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["symbol"],"summary":"Find all references to a symbol","description":"The input position should point to the identifier of the symbol you want to get the references for.\n\nReturns a list of locations where the symbol at the given position is referenced.\n\nThe returned positions point to the start of the reference identifier.\n\ne.g. for `User` on line 0 of `src/main.py`:\n```\n 0: class User:\n input____^^^^\n 1: def __init__(self, name, age):\n 2: self.name = name\n 3: self.age = age\n 4:\n 5: user = User(\"John\", 30)\n output____^\n```","operationId":"find_references","requestBody":"ca821ce1-0324-4f44-b61f-10816609503a","responses":{"200":"4af81b13-630a-4a7e-bd0e-0a06e1c24027","400":"dbb240b9-c391-400c-b68d-3d5ba3782c0b","500":"39f2e570-e848-4d8b-92de-505beb717169"},"method":"post","type":"path","servers":["89e32637-1c15-409a-9b63-72b5b6da9a60"],"security":["d5181418-c172-4f34-ac26-eb0ac96a7cb4"],"path":"/symbol/find-references","baseUrlOptions":["http://localhost:4444/v1"],"title":"Find all references to a symbol","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["identifier_position"],"properties":{"identifier_position":{"type":"object","description":"A position within a specific file in the workspace","required":["path","position"],"properties":{"path":{"type":"string","description":"Path to the file, relative to the workspace root","example":"src/main.py","isRequired":true,"uniqueKey":"identifier_position.path","typeLabel":"string"},"position":{"type":"object","description":"Position within the file","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0,"isRequired":true,"uniqueKey":"identifier_position.position.character","typeLabel":"integer\u003cint32>"},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0,"isRequired":true,"uniqueKey":"identifier_position.position.line","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"identifier_position.position","typeLabel":"object"}},"isRequired":true,"uniqueKey":"identifier_position","typeLabel":"object"},"include_code_context_lines":{"oneOf":[{"type":"integer","format":"int32","description":"Whether to include the source code of the symbol in the response.\nDefaults to none.","example":5,"minimum":0,"uniqueKey":"include_code_context_lines.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Whether to include the source code of the symbol in the response.\nDefaults to none.","example":5,"minimum":0,"uniqueKey":"include_code_context_lines.oneOf.1","typeLabel":"null"}],"uniqueKey":"include_code_context_lines","typeLabel":"integer\u003cint32> | null"},"include_raw_response":{"type":"boolean","description":"Whether to include the raw response from the langserver in the response.\nDefaults to false.","example":false,"uniqueKey":"include_raw_response","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"identifier_position":{"path":"src/main.py","position":{"character":5,"line":10}},"include_code_context_lines":5,"include_raw_response":false}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"4af81b13-630a-4a7e-bd0e-0a06e1c24027":{"description":"References retrieved successfully","content":{"application/json":{"schema":{"type":"object","description":"Response to a references request.\n\nPoints to the start position of the symbol's identifier.\n\ne.g. for the references of `User` on line 0 character 6 of `src/main.py` with the code:\n```\n0: class User:\n1: def __init__(self, name, age):\n2: self.name = name\n3: self.age = age\n4:\n5: user = User(\"John\", 30)\n_________^\n6:\n7: print(user.name)\n```\nThe references will be `[{\"path\": \"src/main.py\", \"line\": 5, \"character\": 7}]`.","required":["references","selected_identifier"],"properties":{"references":{"type":"array","items":{"type":"object","description":"A position within a specific file in the workspace","required":["path","position"],"properties":{"path":{"type":"string","description":"Path to the file, relative to the workspace root","example":"src/main.py","isRequired":true,"uniqueKey":"references.items.[INDEX].path","typeLabel":"string"},"position":{"type":"object","description":"Position within the file","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0,"isRequired":true,"uniqueKey":"references.items.[INDEX].position.character","typeLabel":"integer\u003cint32>"},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0,"isRequired":true,"uniqueKey":"references.items.[INDEX].position.line","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"references.items.[INDEX].position","typeLabel":"object"}},"uniqueKey":"references.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"references","typeLabel":"object[]"},"selected_identifier":{"type":"object","required":["name","file_range"],"properties":{"file_range":{"type":"object","description":"A range within a specific file, defined by start and end positions","required":["path","range"],"properties":{"path":{"type":"string","description":"The path to the file.","example":"src/main.py","isRequired":true,"uniqueKey":"selected_identifier.file_range.path","typeLabel":"string"},"range":{"type":"object","required":["start","end"],"properties":{"end":{"type":"object","description":"The end position of the range.","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0,"isRequired":true,"uniqueKey":"selected_identifier.file_range.range.end.character","typeLabel":"integer\u003cint32>"},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0,"isRequired":true,"uniqueKey":"selected_identifier.file_range.range.end.line","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"selected_identifier.file_range.range.end","typeLabel":"object"},"start":{"type":"object","description":"The start position of the range.","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0,"isRequired":true,"uniqueKey":"selected_identifier.file_range.range.start.character","typeLabel":"integer\u003cint32>"},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0,"isRequired":true,"uniqueKey":"selected_identifier.file_range.range.start.line","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"selected_identifier.file_range.range.start","typeLabel":"object"}},"description":"The range within the file","isRequired":true,"uniqueKey":"selected_identifier.file_range.range","typeLabel":"object"}},"isRequired":true,"uniqueKey":"selected_identifier.file_range","typeLabel":"object"},"name":{"type":"string","isRequired":true,"uniqueKey":"selected_identifier.name","typeLabel":"string"},"kind":{"oneOf":[{"type":"string","uniqueKey":"selected_identifier.kind.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"selected_identifier.kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"selected_identifier.kind","typeLabel":"string | null"}},"description":"The identifier that was \"clicked-on\" to get the references.","isRequired":true,"uniqueKey":"selected_identifier","typeLabel":"object"},"context":{"oneOf":[{"type":"array","items":{"type":"object","required":["range","source_code"],"properties":{"range":{"type":"object","description":"A range within a specific file, defined by start and end positions","required":["path","range"],"properties":{"path":{"type":"string","description":"The path to the file.","example":"src/main.py","isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.path","typeLabel":"string"},"range":{"type":"object","required":["start","end"],"properties":{"end":{"type":"object","description":"The end position of the range.","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0,"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range.end.character","typeLabel":"integer\u003cint32>"},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0,"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range.end.line","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range.end","typeLabel":"object"},"start":{"type":"object","description":"The start position of the range.","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0,"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range.start.character","typeLabel":"integer\u003cint32>"},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0,"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range.start.line","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range.start","typeLabel":"object"}},"description":"The range within the file","isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range.range","typeLabel":"object"}},"isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].range","typeLabel":"object"},"source_code":{"type":"string","isRequired":true,"uniqueKey":"context.oneOf.0.items.[INDEX].source_code","typeLabel":"string"}},"uniqueKey":"context.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"The source code around the references.","uniqueKey":"context.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["range","source_code"],"properties":{"range":{"type":"object","description":"A range within a specific file, defined by start and end positions","required":["path","range"],"properties":{"path":{"type":"string","description":"The path to the file.","example":"src/main.py"},"range":{"type":"object","required":["start","end"],"properties":{"end":{"type":"object","description":"The end position of the range.","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0}}},"start":{"type":"object","description":"The start position of the range.","required":["line","character"],"properties":{"character":{"type":"integer","format":"int32","description":"0-indexed character index within the line.","example":5,"minimum":0},"line":{"type":"integer","format":"int32","description":"0-indexed line number.","example":10,"minimum":0}}}},"description":"The range within the file"}}},"source_code":{"type":"string"}}},"description":"The source code around the references.","uniqueKey":"context.oneOf.1","typeLabel":"null"}],"uniqueKey":"context","typeLabel":"object[] | null"},"raw_response":{"description":"The raw response from the langserver.\n\nhttps://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_references","uniqueKey":"raw_response","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"references":[{"path":"src/main.py","position":{"character":5,"line":10}}],"selected_identifier":{"file_range":{"path":"src/main.py","range":{"end":{"character":5,"line":10},"start":{"character":5,"line":10}}},"name":"\u003cstring>","kind":"\u003cstring>"},"context":[{"range":{"path":"src/main.py","range":{"end":{"character":5,"line":10},"start":{"character":5,"line":10}}},"source_code":"\u003cstring>"}],"raw_response":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"dbb240b9-c391-400c-b68d-3d5ba3782c0b":{"description":"Bad request","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"39f2e570-e848-4d8b-92de-505beb717169":{"description":"Internal server error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"d5181418-c172-4f34-ac26-eb0ac96a7cb4":{"bearer_auth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"89e32637-1c15-409a-9b63-72b5b6da9a60":{"url":"http://localhost:4444/v1","description":"API server v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer_auth","name":"Authorization"}],"title":"bearer_auth"}]},"originalFileLocation":"openapi.json"},"subdomain":"agenticlabs-2964319e","siteName":"Lsproxy Docs","title":"Find all references to a symbol - Lsproxy Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:49:51.408Z","originalFileLocation":"api-reference/symbol/find-all-references-to-a-symbol.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The input position should point to the identifier of the symbol you want to get the references for. Returns a list of locations where the symbol at the given position is referenced. The returned positions point to the start of the reference identifier. e.g. for User on line 0 of src/main.py: 0: class User: input__^^^^ 1: def init(self, name, age): 2: self.name = name 3: self.age = age 4: 5: user = User(\u0026quot;John\u0026quot;, 30) output__^\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lsproxy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Find all references to a symbol - Lsproxy Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The input position should point to the identifier of the symbol you want to get the references for. Returns a list of locations where the symbol at the given position is referenced. The returned positions point to the start of the reference identifier. e.g. for User on line 0 of src/main.py: 0: class User: input__^^^^ 1: def init(self, name, age): 2: self.name = name 3: self.age = age 4: 5: user = User(\u0026quot;John\u0026quot;, 30) output__^\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lsproxy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agenticlabs-2964319e.mintlify.site/_mintlify/api/og/v2?division=symbol\u0026amp;title=Find+all+references+to+a+symbol\u0026amp;description=The+input+position+should+point+to+the+identifier+of+the+symbol+you+want+to+get+the+references+for.%0A%0AReturns+a+list+of+locations+where+the+symbol+at+the+given+p\u0026amp;theme=806041730a4e5f2e1bd8b491\u0026amp;signature=b5b109120fe0e019a3b31b228768086184373fb7537bb34c7355a9502f313fd8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Find all references to a symbol - Lsproxy Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The input position should point to the identifier of the symbol you want to get the references for. Returns a list of locations where the symbol at the given position is referenced. The returned positions point to the start of the reference identifier. e.g. for User on line 0 of src/main.py: 0: class User: input__^^^^ 1: def init(self, name, age): 2: self.name = name 3: self.age = age 4: 5: user = User(\u0026quot;John\u0026quot;, 30) output__^\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agenticlabs-2964319e.mintlify.site/_mintlify/api/og/v2?division=symbol\u0026amp;title=Find+all+references+to+a+symbol\u0026amp;description=The+input+position+should+point+to+the+identifier+of+the+symbol+you+want+to+get+the+references+for.%0A%0AReturns+a+list+of+locations+where+the+symbol+at+the+given+p\u0026amp;theme=806041730a4e5f2e1bd8b491\u0026amp;signature=b5b109120fe0e019a3b31b228768086184373fb7537bb34c7355a9502f313fd8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/agenticlabs-2964319e/KOUEMwyUBLnsf-_2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lsproxy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/symbol/find-all-references-to-a-symbol.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lsproxy.dev/#organization\",\"name\":\"Lsproxy Docs\",\"url\":\"https://docs.lsproxy.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agenticlabs-2964319e/iD3j-Tz9pOfvLayG/logo/agentic_logo.png?fit=max\u0026auto=format\u0026n=iD3j-Tz9pOfvLayG\u0026q=85\u0026s=2aa1671e6e2263e42bd436462418914a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lsproxy.dev#website\",\"name\":\"Lsproxy Docs\",\"url\":\"https://docs.lsproxy.dev\",\"publisher\":{\"@id\":\"https://docs.lsproxy.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol#webpage\",\"url\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol\",\"name\":\"Find all references to a symbol\",\"description\":\"The input position should point to the identifier of the symbol you want to get the references for. Returns a list of locations where the symbol at the given position is referenced. The returned positions point to the start of the reference identifier. e.g. for User on line 0 of src/main.py: 0: class User: input__^^^^ 1: def init(self, name, age): 2: self.name = name 3: self.age = age 4: 5: user = User(\\\"John\\\", 30) output__^\",\"dateModified\":\"2026-01-07T03:49:51.408Z\",\"isPartOf\":{\"@id\":\"https://docs.lsproxy.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"symbol\",\"item\":\"https://docs.lsproxy.dev/api-reference/symbol/get-symbols-in-a-specific-file-uses-ast-grep\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find all references to a symbol\",\"item\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol#apireference\",\"headline\":\"Find all references to a symbol\",\"name\":\"Find all references to a symbol\",\"description\":\"The input position should point to the identifier of the symbol you want to get the references for. Returns a list of locations where the symbol at the given position is referenced. The returned positions point to the start of the reference identifier. e.g. for User on line 0 of src/main.py: 0: class User: input__^^^^ 1: def init(self, name, age): 2: self.name = name 3: self.age = age 4: 5: user = User(\\\"John\\\", 30) output__^\",\"url\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lsproxy.dev/api-reference/symbol/find-all-references-to-a-symbol#webpage\"},\"dateModified\":\"2026-01-07T03:49:51.408Z\",\"publisher\":{\"@id\":\"https://docs.lsproxy.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lsproxy.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lsproxy Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lsproxy Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/symbol/find-all-references-to-a-symbol.md","siteName":"Lsproxy Docs","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"symbol","pages":[{"title":"Get symbols in a specific file (uses ast-grep)","deprecated":null,"version":null,"openapi":"openapi.json get /symbol/definitions-in-file","href":"/api-reference/symbol/get-symbols-in-a-specific-file-uses-ast-grep"},{"title":"Get the definition of a symbol at a specific position in a file","deprecated":null,"version":null,"openapi":"openapi.json post /symbol/find-definition","href":"/api-reference/symbol/get-the-definition-of-a-symbol-at-a-specific-position-in-a-file"},{"title":"Finds occurrences of an identifier by name in a file","deprecated":null,"version":null,"openapi":"openapi.json post /symbol/find-identifier","href":"/api-reference/symbol/finds-occurrences-of-an-identifier-by-name-in-a-file"},{"title":"Find all symbols that are referenced from a given symbol's definition","description":"The input position must point to a symbol (e.g. function name, class name, variable name).\nReturns all symbols referenced within that symbol's implementation, categorized into:\n- Workspace symbols (with their definitions)\n- External symbols (built-in functions like 'len', 'print' or from external libraries)\n- Symbols that couldn't be found\n\ne.g. for a function definition in `main.py`:\n```python\n@log_execution_time # Reference to decorator\ndef process_user(): # \u003c-- Input position here\n user = User() # Reference to User class\n print(\"Done\") # Reference to built-in function\n```\nThis would return:\n- Workspace symbols: [\n log_execution_time (with definition from decorators.py),\n User (with definition from models.py)\n ]\n- External symbols: print (Python built-in)","deprecated":null,"version":null,"openapi":"openapi.json post /symbol/find-referenced-symbols","href":"/api-reference/symbol/find-all-symbols-that-are-referenced-from-a-given-symbols-definition"},{"title":"Find all references to a symbol","deprecated":null,"version":null,"openapi":"openapi.json post /symbol/find-references","href":"/api-reference/symbol/find-all-references-to-a-symbol"}]},{"group":"system","pages":[{"title":"Get health status of the LSP proxy service","description":"Returns the service status, version and language server availability","deprecated":null,"version":null,"openapi":"openapi.json get /system/health","href":"/api-reference/system/get-health-status-of-the-lsp-proxy-service"}]},{"group":"workspace","pages":[{"title":"Get a list of all files in the workspace","deprecated":null,"version":null,"openapi":"openapi.json get /workspace/list-files","href":"/api-reference/workspace/get-a-list-of-all-files-in-the-workspace"},{"title":"Read source code from a file in the workspace","deprecated":null,"version":null,"openapi":"openapi.json post /workspace/read-source-code","href":"/api-reference/workspace/read-source-code-from-a-file-in-the-workspace"}]}]}]},"basePath":"","title":"Find all references to a symbol - Lsproxy Docs","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}