Semantically search scripts in the game
semantic-search-scriptsFind decompiled Roblox scripts by behavior using enriched semantic cards plus exact lexical signals. Use when exact identifiers are unknown; use script-grep for precise text or regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of semantic matches to return (default: 5, max: 50). | |
| query | Yes | Natural-language description of the code behavior to find. | |
| minScore | No | Optional minimum dense cosine score. Hybrid lexical matches may still be useful when exact remotes, strings, or APIs match. | |
| indexOnly | No | When true, build or refresh the semantic index and return readiness without searching. | |
| maxOutputChars | No | Maximum characters to return to the model (default: 6000, max: 32000). Raise only when a single result genuinely needs more; large outputs degrade model performance. | |
| requireFullIndex | No | When true, build or complete the semantic index before searching so results are not partial (default: true). |