@mastra/core
Version:
29 lines • 904 B
TypeScript
/**
* LSP Inspect Tool
*
* Inspect code at a specific position using the Language Server Protocol.
* The agent provides a file path, line number, and a `<<<` marker in the
* line content to indicate the cursor position.
*/
export declare const lspInspectTool: import("../../tools").Tool<{
path: string;
line: number;
match: string;
}, {
hover?: {
value: string;
kind: string;
} | undefined;
diagnostics?: {
severity: string;
message: string;
source: string | null;
}[] | undefined;
definition?: {
location: string;
preview: string | null;
}[] | undefined;
implementation?: string[] | undefined;
error?: string | undefined;
}, unknown, unknown, import("../../tools").ToolExecutionContext<unknown, unknown, unknown>, "mastra_workspace_lsp_inspect", unknown>;
//# sourceMappingURL=lsp-inspect.d.ts.map