Film kit command
event.list
List Events
Lists the session's event log (warnings, errors, info) at or above `level`, newer than `since`.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
level | "info" | "warning" | "error" | no | |
since | integer | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "event.list" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: level, since. film_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
counts | object | no | |
entries | any[] | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"counts": {
"additionalProperties": true,
"properties": {
"error": {
"type": "integer"
},
"info": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"entries": {
"items": {},
"type": "array"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"level": {
"enum": [
"info",
"warning",
"error"
],
"type": "string"
},
"since": {
"type": "integer"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.