Genesis genes ship with every new Rotifer project. Explore their interfaces and try them live.
Full-featured web search gene. Returns structured search results with titles, URLs, and snippets.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"maxResults": {
"type": "number",
"description": "Maximum results to return (default: 5)"
}
},
"required": [
"query"
]
} {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"snippet": {
"type": "string"
}
}
}
},
"totalResults": {
"type": "number"
},
"searchTime": {
"type": "number"
}
}
} Lightweight web search variant. Single result, lower latency, lower resource cost.
{
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
} {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"snippet": {
"type": "string"
}
}
} Read file contents from the local filesystem. Returns content, size, encoding, and line count.
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "File path to read"
},
"encoding": {
"type": "string",
"description": "File encoding (default: utf-8)"
}
},
"required": [
"path"
]
} {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"size": {
"type": "number"
},
"encoding": {
"type": "string"
},
"lines": {
"type": "number"
}
}
} Format source code with auto-detected language. Applies standard formatting rules.
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Source code to format"
},
"language": {
"type": "string",
"description": "Language hint (optional, auto-detected)"
}
},
"required": [
"code"
]
} {
"type": "object",
"properties": {
"formatted": {
"type": "string"
},
"language": {
"type": "string"
},
"changes": {
"type": "number"
}
}
} L0 Constraint Layer validator. Checks actions against immutable ethical boundaries before execution.
{
"type": "object",
"properties": {
"action": {
"type": "string",
"description": "Action to validate"
},
"context": {
"type": "object",
"description": "Execution context"
}
},
"required": [
"action"
]
} {
"type": "object",
"properties": {
"allowed": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"constraint": {
"type": "string"
}
}
}