ctx.pull.context_slice
Retrieve targeted context for Shopify apps by specifying intent, budget, and required sections. Uses graph-based retrieval and observation masking to deliver focused information slices.
Instructions
Pull a targeted context slice for an app based on intent, budget, and required sections. Uses graph-based retrieval and observation masking.
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": {
"request_id": "<request_id>",
"app_key": "<app_key>",
"intent": "<intent>",
"budget": "<budget>"
},
"name": "ctx.pull.context_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | Unique request ID | |
| app_key | Yes | App identifier | |
| intent | Yes | Request intent | |
| query_text | No | Free-text query | |
| entities | No | Entity names to focus on | |
| required_sections | No | Sections that must be included | |
| excluded_sections | No | Sections to exclude | |
| budget | Yes | Output budget constraints | |
| language | No | en |