Sort Sharelist
sharelist_sortReorder securities in a community sharelist by supplying the sharelist ID and symbols in the desired new order. Useful for customizing list sequence via API.
Instructions
Reorder securities in a community sharelist by id. Provide symbols in the desired new order. Returns upstream API response on success.
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": {
"id": "<id>",
"symbols": "<symbols>"
},
"name": "sharelist_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sharelist ID | |
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| symbols | Yes | Security symbols, e.g. ["AAPL.US", "700.HK"] |