useVyre Context

v1.0.3
io.github.gapra/usevyre-context Checked 3 days ago Published 6 months ago

useVyre component context for AI agents — valid props, variants, anti-patterns, and design tokens.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_component_info

Get full context for a useVyre component: props, valid values, anti-patterns, and examples.

ParameterTypeDescription
component *stringComponent name (e.g. 'Button', 'Badge', 'Card')

get_valid_props

Get all valid prop values for a useVyre component. Use this before generating component code to avoid hallucinations.

ParameterTypeDescription
component *stringComponent name (e.g. 'Button')

check_valid_prop_value

Check if a specific prop value is valid for a useVyre component. Returns valid/invalid + suggestion.

ParameterTypeDescription
component *stringComponent name (e.g. 'Button')
prop *stringProp name (e.g. 'variant', 'size')
value *stringValue to check (e.g. 'primary', 'xl')

suggest_component

Suggest the best useVyre component(s) for a given use case or description.

ParameterTypeDescription
use_case *stringDescribe what you want to build (e.g. 'loading state', 'user avatar with status', 'search interface')

get_full_context

Get the complete useVyre AI context — all components, tokens, and rules. Use for system prompt injection.

get_anti_patterns

Get all known AI hallucination patterns for useVyre components — prop names and values that don't exist.

ParameterTypeDescription
componentstringFilter by component name. Leave empty for all anti-patterns.

get_version_info

Get the current version of useVyre AI context and which package versions it is valid for.

get_token_info

Get design token information for useVyre. Query a specific token by name, or list all tokens in a category (color, spacing, typography, borderRadius, shadow, transition, zIndex).

ParameterTypeDescription
categorystringCategory to list: 'color', 'spacing', 'typography', 'borderRadius', 'shadow', 'transition', 'zIndex'
tokenstringToken name or CSS variable (e.g. 'accent', 'color.semantic.accent', '--vyre-color-semantic-accent', 'spacing-4')