@agentic/platform-validators
v8.4.4
Published
Validation utils for core strings and identifiers used across the Agentic platform.
Downloads
2,146
Readme
@agentic/platform-validators
Core schemas and validators shared across the Agentic platform.
[!TIP] You likely don't need this package directly. See @agentic/cli, @agentic/platform, and @agentic/platform-tool-client for more public-facing packages.
Install
npm i @agentic/platform-validatorsUsage
import { parseProjectIdentifier } from '@agentic/platform-validators'
const parsedProjectIdentifier = parseProjectIdentifier('@agentic/search')Identifiers
Project Identifier
@username/project-slug@team-slug/project-slug
Examples:
@agentic/search
Deployment Identifier
${projectIdentifier}will implicitly use${projectIdentifier}@latest${projectIdentifier}@latest(the most recently published deployment)${projectIdentifier}@dev(the most recently pushed deployment)${projectIdentifier}@deploymentHash(a specific deployment)${projectIdentifier}@version(a specific published deployment specified viasemver)
Examples:
@agentic/search@agentic/search@latest@agentic/[email protected]
Tool Identifier
${deploymentIdentifier}/tool_name
Examples:
@agentic/search/search@agentic/search@latest/search@agentic/[email protected]/search
Tool Names
- Must start with a letter or underscore
- Can include only letters, numbers, and underscores
- Use either camelCase or snake_case consistently across all tools
OpenAI vs Anthropic vs Google vs MCP tool name restrictions
