Uses of Class
com.github.copilot.sdk.json.ToolDefinition
Packages that use ToolDefinition
-
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.ToolDefinition.setDescription(String description) Sets the tool description.ToolDefinition.setHandler(ToolHandler handler) Sets the tool handler.Sets the tool name.ToolDefinition.setParameters(Object parameters) Sets the parameter schema.Methods in com.github.copilot.sdk.json that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionResumeSessionConfig.getTools()Gets the custom tools for this session.SessionConfig.getTools()Gets the custom tools for this session.Method parameters in com.github.copilot.sdk.json with type arguments of type ToolDefinitionModifier and TypeMethodDescriptionResumeSessionConfig.setTools(List<ToolDefinition> tools) Sets custom tools that the assistant can invoke during the session.SessionConfig.setTools(List<ToolDefinition> tools) Sets custom tools that the assistant can invoke during the session.