Uses of Record Class
com.github.copilot.sdk.json.ToolDefinition
Packages that use ToolDefinition
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of ToolDefinition in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return ToolDefinitionModifier and TypeMethodDescriptionstatic ToolDefinitionToolDefinition.create(String name, String description, Map<String, Object> schema, ToolHandler handler) Creates a tool definition with a JSON schema for parameters.Methods in com.github.copilot.sdk.json that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionCreateSessionRequest.getTools()Gets the tools.ResumeSessionConfig.getTools()Gets the custom tools for this session.ResumeSessionRequest.getTools()Gets the tools.SessionConfig.getTools()Gets the custom tools for this session.Method parameters in com.github.copilot.sdk.json with type arguments of type ToolDefinitionModifier and TypeMethodDescriptionvoidCreateSessionRequest.setTools(List<ToolDefinition> tools) Sets the tools.ResumeSessionConfig.setTools(List<ToolDefinition> tools) Sets custom tools that the assistant can invoke during the session.voidResumeSessionRequest.setTools(List<ToolDefinition> tools) Sets the tools.SessionConfig.setTools(List<ToolDefinition> tools) Sets custom tools that the assistant can invoke during the session.