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 ¶
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.
Click to show internal directories.
Click to hide internal directories.