What is an OpenVerb Library? OpenVerb Core is the execution engine, but OpenVerb Libraries (like this one) are reusable AI action blueprints. They are NOT npm packages. You can copy the schema directly into an AI prompt to instantly give it a structured action space.
OpenVerb Core
v1.0.0Published by @OpenVerb Official
•openverb.core
•Updated 15 days ago
The foundational execution primitives every OpenVerb app needs. System-level verbs for file I/O, data validation, and execution logging.
corestandardsystemfoundation
2478
755
0
openverb.core.read_file
Read the contents of a file by path
Input
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Absolute or relative file path"
}
}
}Output
{
"type": "object",
"properties": {
"size": {
"type": "number"
},
"content": {
"type": "string"
}
}
}Policies:require_read_permission
openverb.core.write_file
Write content to a file, creating it if it does not exist
Input
{
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"description": "File path to write to"
},
"append": {
"type": "boolean",
"description": "If true, append instead of overwrite"
},
"content": {
"type": "string",
"description": "Content to write"
}
}
}Output
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"bytesWritten": {
"type": "number"
}
}
}Policies:require_write_permission
openverb.core.validate_schema
Validate a JSON payload against a verb's input or output schema
Input
{
"type": "object",
"required": [
"schema",
"payload"
],
"properties": {
"schema": {
"type": "object",
"description": "The JSON Schema to validate against"
},
"payload": {
"type": "object",
"description": "The data to validate"
}
}
}Output
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}openverb.core.log_execution
Log a verb execution event for auditing and replay
Input
{
"type": "object",
"required": [
"verbId",
"timestamp"
],
"properties": {
"input": {
"type": "object"
},
"output": {
"type": "object"
},
"verbId": {
"type": "string"
},
"timestamp": {
"type": "string",
"description": "ISO 8601 timestamp"
}
}
}Output
{
"type": "object",
"properties": {
"logId": {
"type": "string"
}
}
}