scp_create_intent
Create shopping intents with authorized merchants to define customer purchase goals and enable personalized shopping assistance through the Shopper Context Protocol.
Instructions
Create a new shopping intent with a merchant. Domain must be authorized with intent:create scope.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ai_assistant | No | Name of the AI assistant | |
base_intent | Yes | Natural language description of the shopping goal | |
context | No | Additional context about the intent | |
domain | Yes | Merchant domain | |
mechanism | No | How the intent was created | conversational_ai |
visibility | No | Who can see this intent | merchant_only |
Input Schema (JSON Schema)
{
"properties": {
"ai_assistant": {
"description": "Name of the AI assistant",
"type": "string"
},
"base_intent": {
"description": "Natural language description of the shopping goal",
"type": "string"
},
"context": {
"description": "Additional context about the intent",
"type": "object"
},
"domain": {
"description": "Merchant domain",
"type": "string"
},
"mechanism": {
"default": "conversational_ai",
"description": "How the intent was created",
"type": "string"
},
"visibility": {
"default": "merchant_only",
"description": "Who can see this intent",
"enum": [
"merchant_only",
"shared_with_customer"
],
"type": "string"
}
},
"required": [
"domain",
"base_intent"
],
"type": "object"
}