Get a logic write-up
get_logicRetrieve full details for a Roblox logic using its ID from search results. Optionally request specific sections like code or mechanism to reduce token cost.
Instructions
Fetch the full write-up for one logic: the problem it solves, the numbered mechanism, illustrative Luau, pitfalls and source links. Call it only with an id returned by search_logics, list_logics or find_related — ids are not guessable. This is the expensive call: pass sections to pull just what you need (e.g. ['how-it-works'] to understand the mechanism, ['code'] to see the Luau).
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>"
},
"name": "get_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact logic id, e.g. 'session-locked-player-data'. | |
| sections | No | Return only these sections instead of the whole document. Omit for everything. Cuts token cost substantially. |