Shopify
ShopifyToolSpec #
Bases: BaseToolSpec
Shopify tool spec.
Source code in llama-index-integrations/tools/llama-index-tools-shopify/llama_index/tools/shopify/base.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
run_graphql_query #
run_graphql_query(graphql_query: str)
Run a GraphQL query against the Shopify Admin API.
{
products (first: 3) { edges { node { id title handle } } }
}
providing this query would return the id, title and handle of the first 3 products
Source code in llama-index-integrations/tools/llama-index-tools-shopify/llama_index/tools/shopify/base.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|