Documentation
¶
Index ¶
- Constants
- func FleetAgentDockContextOutputSchema() map[string]any
- func InputSchema(name string) (map[string]any, bool)
- func IsCanonicalTool(name string) bool
- func LocalAgentDockContextOutputSchema() map[string]any
- func OutputSchema(name string) (map[string]any, bool)
- func ToolNames() []string
- type Annotations
- type RecallWriteBehaviorCase
- type RecallWriteOutcome
Constants ¶
View Source
const ( ToolAgentDockContext = "agentdock_context" ToolRecallSearch = "recall_search" ToolRecallRead = "recall_read" ToolRecallWrite = "recall_write" ToolRecallMaintain = "recall_maintain" ToolPrivateNoteManage = "private_note_manage" ToolWorkflowTemplateManage = "workflow_template_manage" )
Variables ¶
This section is empty.
Functions ¶
func InputSchema ¶
InputSchema returns a fresh canonical model-facing input schema.
func IsCanonicalTool ¶
func OutputSchema ¶
OutputSchema returns a fresh canonical output schema for tools whose result shape is shared by direct AgentDock and central NexusDock entrypoints.
Types ¶
type Annotations ¶
type Annotations struct {
ReadOnlyHint bool
DestructiveHint *bool
IdempotentHint *bool
OpenWorldHint *bool
}
func AnnotationContract ¶
func AnnotationContract(name string) (Annotations, bool)
type RecallWriteBehaviorCase ¶
type RecallWriteBehaviorCase struct {
Name string
Target string
Action string
Path string
Confirmed bool
DryRun bool
Expected RecallWriteOutcome
Existing bool
OverwriteSemantic bool
}
func RecallWriteBehaviorCases ¶
func RecallWriteBehaviorCases() []RecallWriteBehaviorCase
RecallWriteBehaviorCases defines cross-entrypoint observable semantics. DryRun is an internal safety switch and is intentionally not part of the public MCP schema.
type RecallWriteOutcome ¶
type RecallWriteOutcome string
const ( RecallWritePreview RecallWriteOutcome = "preview" RecallWriteMutation RecallWriteOutcome = "mutation" RecallWriteError RecallWriteOutcome = "error" RecallWriteReadOnly RecallWriteOutcome = "read_only" )
Click to show internal directories.
Click to hide internal directories.