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/packages/regex-tester/manifest.json
Jeffrey Smith 8580e1d93e
Some checks failed
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Failing after 2m15s
CI/CD / test-sqlite (push) Successful in 2m36s
CI/CD / build-and-deploy (push) Has been skipped
Feat v0.2.9 builtin retirement (#13)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-03-27 16:46:50 +00:00

40 lines
1.6 KiB
JSON

{
"id": "regex-tester",
"name": "Regex Tester",
"version": "1.0.0",
"type": "extension",
"tier": "browser",
"author": "switchboard",
"description": "Tests regular expressions against input strings. Allows the LLM to verify regex patterns and see matches, groups, and indices.",
"requires": ["chat"],
"permissions": [],
"tools": [
{
"name": "regex_test",
"display_name": "Regex Tester",
"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": {}
}