toolidentity

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package toolidentity owns the private constants shared by the Agent-owned Tool runtime and provider profile materializers. Keeping them here avoids an MCP SDK dependency in provider packages and prevents string markers from becoming public API.

Index

Constants

View Source
const (
	ServerKey                      = "agent-adaptor-tools"
	BearerTokenEnvVarPrefix        = "AGENT_ADAPTOR_TOOL_TOKEN_"
	CompatibilityBearerTokenEnvVar = "agent-owned://host-defined-tools/bearer-env"
	RequiredReason                 = "host-defined Tools are part of this Agent"
	ManifestOwner                  = "agent-adaptor/host-defined-tools/v1"
)

Variables

This section is empty.

Functions

func IsBearerTokenEnvVar

func IsBearerTokenEnvVar(name string) bool

IsBearerTokenEnvVar recognizes the per-Agent environment-variable names minted by the private Tool runtime. The 128-bit suffix prevents another MCP declaration from predicting and aliasing the credential carrier.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL