Get model library
get_libraryList the JSONata functions and values a model's library exports — what an expression in this model may call, with signature, arity and originating layer. Call it before writing an expression so you reuse the model's existing vocabulary instead of re-deriving it. Returns null when the model declares no library.
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_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The model id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exports | No | One entry per exported name: {name, kind ('function'|'constant'), signature, arity, origin}. | |
| description | No | The library's prose description, if any. |