This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/extensions/builtin/regex-tester/manifest.json
2026-02-25 13:29:15 +00:00

37 lines
1.5 KiB
JSON

{
"id": "regex-tester",
"name": "Regex Tester",
"version": "1.0.0",
"tier": "browser",
"author": "switchboard",
"description": "Tests regular expressions against input strings. Allows the LLM to verify regex patterns and see matches, groups, and indices.",
"permissions": [],
"tools": [
{
"name": "regex_test",
"description": "Test a regular expression against one or more input strings. Returns match details including captured groups, indices, and whether each string matched. Use this to verify regex patterns instead of guessing.",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "The regular expression pattern (without delimiters), e.g. '^\\d{3}-\\d{4}$'"
},
"flags": {
"type": "string",
"description": "Regex flags, e.g. 'gi' for global+case-insensitive. Default: '' (no flags)"
},
"inputs": {
"type": "array",
"items": { "type": "string" },
"description": "Array of test strings to match against the pattern"
}
},
"required": ["pattern", "inputs"]
}
}
],
"surfaces": [],
"settings": {}
}