onf_get_definition_versions
List immutable versions for an asset. Use includeSource to retrieve complete version bodies.
List immutable versions for an asset. Use includeSource to retrieve complete version bodies.
Agent workflow authoring · All MCP tools
Inputs#
| Field | Required | Contract |
|---|---|---|
definitionId | Yes | string |
includeSource | No | boolean; default false |
offset | No | integer; default 0 |
limit | No | integer; default 30 |
Exact input schema#
{
"type": "object",
"properties": {
"definitionId": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeSource": {
"default": false,
"type": "boolean"
},
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"default": 30,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"definitionId"
]
}MCP annotations#
readOnlyHint:truedestructiveHint:falseidempotentHint:trueopenWorldHint:false
Annotations describe tool behavior; they are not an authorization boundary.
Calling this tool#
Use the exact registered name onf_get_definition_versions through a compatible MCP client. Start with discovery and read the current object before a change. Pass the documented revision or version guards where required. A JSON Schema default is not a substitute for reading the tool contract.
See connection setup and agent safety for transport, permissions and uncertain-action recovery.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
server/mcp-tools.ts