Documentation
¶
Index ¶
- func CallTool(ctx context.Context, registry *projectregistry.Registry, ...) (map[string]any, error)
- func CallToolWithIngestion(ctx context.Context, registry *projectregistry.Registry, ...) (map[string]any, error)
- func CallToolWithWorkspace(ctx context.Context, registry *projectregistry.Registry, ...) (map[string]any, error)
- func CallToolWithWorkspaceAndDiagnostics(ctx context.Context, registry *projectregistry.Registry, ...) (map[string]any, error)
- func ReadResource(ctx context.Context, registry *projectregistry.Registry, ...) (map[string]any, error)
- func ReadResourceWithIngestion(ctx context.Context, registry *projectregistry.Registry, ...) (map[string]any, error)
- func ResourceTemplates() []map[string]any
- func ResourceTemplatesWithIngestion(includeIngestion bool) []map[string]any
- func ToolDefinitions() []map[string]any
- func ToolDefinitionsWithIngestion(includeIngestion bool) []map[string]any
- func ToolDefinitionsWithWorkspace(includeIngestion bool, includeWorkspace bool) []map[string]any
- func ToolDefinitionsWithWorkspaceAndDiagnostics(includeIngestion bool, includeWorkspace bool, includeDiagnostics bool) []map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallTool ¶
func CallTool(ctx context.Context, registry *projectregistry.Registry, digest *projectregistry.DigestService, name string, arguments json.RawMessage) (map[string]any, error)
func CallToolWithIngestion ¶
func CallToolWithIngestion(ctx context.Context, registry *projectregistry.Registry, digest *projectregistry.DigestService, ingestion projectingestion.API, name string, arguments json.RawMessage) (map[string]any, error)
func CallToolWithWorkspace ¶
func CallToolWithWorkspace(ctx context.Context, registry *projectregistry.Registry, digest *projectregistry.DigestService, ingestion projectingestion.API, workspace projectworkspace.API, name string, arguments json.RawMessage) (map[string]any, error)
func CallToolWithWorkspaceAndDiagnostics ¶
func CallToolWithWorkspaceAndDiagnostics(ctx context.Context, registry *projectregistry.Registry, digest *projectregistry.DigestService, ingestion projectingestion.API, workspace projectworkspace.API, diagnosticsService *diagnostics.Service, name string, arguments json.RawMessage) (map[string]any, error)
func ReadResource ¶
func ReadResource(ctx context.Context, registry *projectregistry.Registry, digest *projectregistry.DigestService, uri string) (map[string]any, error)
func ReadResourceWithIngestion ¶
func ReadResourceWithIngestion(ctx context.Context, registry *projectregistry.Registry, digest *projectregistry.DigestService, ingestion projectingestion.API, uri string) (map[string]any, error)
func ResourceTemplates ¶
func ToolDefinitions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.