ai.mcp.vcode #
fn new_mcp_server #
fn new_mcp_server(v &VCode) !&mcp.Server
fn vtest #
fn vtest(fullpath string) !string
test runs v test on the specified file or directory
fn vvet #
fn vvet(fullpath string) !string
vvet runs v vet on the specified file or directory
struct VCode #
@[heap]
struct VCode {
v_version string = '0.1.0'
}
fn (VCode) get_function_from_file_tool_handler #
fn (d &VCode) get_function_from_file_tool_handler(arguments map[string]Any) !mcp.ToolCallResult
fn (VCode) write_vfile_tool_handler #
fn (d &VCode) write_vfile_tool_handler(arguments map[string]Any) !mcp.ToolCallResult