eval_featurescript
Evaluate FeatureScript expressions to query geometry in Part Studios, enabling read-only analysis without modifying the model.
Instructions
Evaluate a FeatureScript expression in a Part Studio (read-only, for querying geometry)
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": {
"documentId": "<documentId>",
"workspaceId": "<workspaceId>",
"elementId": "<elementId>",
"script": "<script>"
},
"name": "eval_featurescript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | FeatureScript lambda expression to evaluate | |
| elementId | Yes | Part Studio element ID | |
| documentId | Yes | Document ID | |
| workspaceId | Yes | Workspace ID |