MCPcopy Create free account
hub / github.com/coder/coder / AgentConnFunc

FuncType AgentConnFunc

coderd/x/chatd/chattool/createworkspace.go:59–62  ·  view source on GitHub ↗

AgentConnFunc provides access to workspace agent connections.

func(
	ctx context.Context,
	agentID uuid.UUID,
) (workspacesdk.AgentConn, func(), error)

Source from the content-addressed store, hash-verified

57
58// AgentConnFunc provides access to workspace agent connections.
59type AgentConnFunc func(
60 ctx context.Context,
61 agentID uuid.UUID,
62) (workspacesdk.AgentConn, func(), error)
63
64// CreateWorkspaceOptions configures the create_workspace tool.
65type CreateWorkspaceOptions struct {

Callers 1

appendRootChatToolsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected