Semantically search scripts in the game
semantic-search-scriptsFind decompiled Roblox scripts by describing their behavior, using semantic embeddings to match when exact identifiers are unknown.
Instructions
Find decompiled Roblox scripts by behavior using semantic embeddings. Use when exact identifiers are unknown; use script-grep for exact text or regex.
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": {
"query": "<query>"
},
"name": "semantic-search-scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of semantic matches to return (default: 10, max: 50). | |
| query | Yes | Natural-language description of the code behavior to find. | |
| minScore | No | Optional minimum cosine similarity score. Typical useful values are 0.2-0.5. |