Get Flags
decision_api_get_flagsRetrieve all feature flags with values and metadata for a visitor using visitor context, returned as simplified key-value pairs for targeting decisions.
Instructions
Get all feature flags with their values and metadata for a visitor. Returns a simplified key-value format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"visitor_id": "<visitor_id>",
"context": "<context>",
"trigger_hit": "<trigger_hit>"
},
"name": "decision_api_get_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | The visitor context (key-value pairs for targeting) | |
| visitor_id | Yes | The unique identifier for the visitor | |
| trigger_hit | Yes | Whether to send a hit to analytics (default: false) |