Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandTool ¶
func NewJobKillTool ¶
func NewJobOutputTool ¶
func NewQuestionTool ¶ added in v1.6.16
Types ¶
type CommandTool ¶
type CommandTool struct{}
func (*CommandTool) Description ¶
func (t *CommandTool) Description() string
func (*CommandTool) Execute ¶
func (t *CommandTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
func (*CommandTool) Metadata ¶
func (t *CommandTool) Metadata() types.ToolMetadata
func (*CommandTool) Name ¶
func (t *CommandTool) Name() string
func (*CommandTool) Schema ¶
func (t *CommandTool) Schema() map[string]interface{}
type JobKillTool ¶
type JobKillTool struct{}
func (*JobKillTool) Description ¶
func (t *JobKillTool) Description() string
func (*JobKillTool) Execute ¶
func (t *JobKillTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
func (*JobKillTool) Metadata ¶
func (t *JobKillTool) Metadata() types.ToolMetadata
func (*JobKillTool) Name ¶
func (t *JobKillTool) Name() string
func (*JobKillTool) Schema ¶
func (t *JobKillTool) Schema() map[string]interface{}
type JobOutputTool ¶
type JobOutputTool struct{}
func (*JobOutputTool) Description ¶
func (t *JobOutputTool) Description() string
func (*JobOutputTool) Execute ¶
func (t *JobOutputTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
func (*JobOutputTool) Metadata ¶
func (t *JobOutputTool) Metadata() types.ToolMetadata
func (*JobOutputTool) Name ¶
func (t *JobOutputTool) Name() string
func (*JobOutputTool) Schema ¶
func (t *JobOutputTool) Schema() map[string]interface{}
type QuestionTool ¶ added in v1.6.16
type QuestionTool struct{}
func (*QuestionTool) Description ¶ added in v1.6.16
func (t *QuestionTool) Description() string
func (*QuestionTool) Execute ¶ added in v1.6.16
func (t *QuestionTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
This tool is special. It's handled by the agent runner, not executed directly. The agent should see this tool and halt execution, passing the question to the UI. The Execute function here is a fallback and should indicate that it needs special handling.
func (*QuestionTool) Metadata ¶ added in v1.6.16
func (t *QuestionTool) Metadata() types.ToolMetadata
func (*QuestionTool) Name ¶ added in v1.6.16
func (t *QuestionTool) Name() string
func (*QuestionTool) Schema ¶ added in v1.6.16
func (t *QuestionTool) Schema() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.