Search my scripts
quant_search_user_scriptsSearches the signed-in member's own Pine Script® scripts on LuxAlgo: the ones Quant wrote for them in a chat (origin: quant) and the ones they saved from the code editor (origin: user). Each result has its id, name, kind (indicator, strategy or library), origin, a one-line description when there is one, and when it was created and last saved; newest first. query matches names and descriptions; leave it out for the latest scripts. Results carry no source: fetch one script's code with get_user_script and its id. For LuxAlgo's published indicators use library_search, not this. Requires signing in with a LuxAlgo account (OAuth).
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": {
"context": "<context>"
},
"name": "quant_search_user_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only scripts of this kind. | |
| limit | No | Max results (default 20). | |
| query | No | Words to look for in script names and descriptions. | |
| origin | No | Only scripts Quant wrote, or only the member's own. | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." |