Vector kit command
file.node
Inspect Object
Answers one object by id: its kind, geometry, paint and children; summary gives a compact form, depth and childLimit bound the children shown.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
- Acts on
id(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
childLimit | integer | no | |
depth | integer | no | |
id | integer | no | object ID |
summary | boolean | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "file.node" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: childLimit, depth, id, summary. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
children | any[] | no | |
id | number | no | |
kind | string | no | |
name | string | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"children": {
"type": "array"
},
"id": {
"type": "number"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"childLimit": {
"type": "integer"
},
"depth": {
"type": "integer"
},
"id": {
"description": "object ID",
"type": "integer",
"x-khp-types": [
"Node"
]
},
"summary": {
"type": "boolean"
}
},
"returns": "one object",
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.