Check whether the current executor thread is parallel
is-parallel-contextCheck whether a Roblox thread context is parallel and return a boolean without changing scheduler state. Use this read-only observation to branch execution based on concurrency status.
Instructions
Call isparallel/is_parallel and return a boolean without changing scheduler state. Signature: { threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Produces: structured-observation. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "is-parallel-context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |