Get block schema
get_block_schemaReturn a block type's fields or inputSchema, params, sampleResult, connectionInfo/connections, serviceConfig and guide. type: a blockType from list_block_types, or an extension method id from search_extensions / list_extension_methods; not an agentTools id or a knowledge base. guide says how to configure this block; expression syntax is in the readme (Expressions). Its fields/inputSchema and guide are what add_block / configure_block need for that type. type may be an array: an invalid type comes back as { type, error } in its position, the others resolve normally. operationId: single type only (rejected with an array); returns only { type, blockType, hasResult, operationDetail }. For a built-in block, inputSchema describes every field (fields is omitted); an expression field is { $ref: "#/$defs/Expression" } with an optional resultType, the expected value type. detail: "full" returns fields and the expanded inputSchema.
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": {
"workspaceId": "<workspaceId>",
"type": "<type>"
},
"name": "get_block_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| detail | No | ||
| operationId | No | ||
| workspaceId | Yes |