← Back to Gene Catalog

grammar-checker

Nativecontent.grammar

Check grammar, spelling, and punctuation in written content. Identify common errors and provide corrections. Use when reviewing any written content for grammatical accuracy.

README

No documentation yet.

Gene authors can add a README when publishing.

Phenotype

Input

PropertyTypeReqDescription
textstring✓English text to check for grammar issues
strictboolean = falseEnable additional rules (passive voice, excessive adverbs)

Output

PropertyTypeReqDescription
scorenumber✓0-100, higher = fewer issues
issuesarray✓
summarystring✓
Raw JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "English text to check for grammar issues"
    },
    "strict": {
      "type": "boolean",
      "default": false,
      "description": "Enable additional rules (passive voice, excessive adverbs)"
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "issues",
    "score",
    "summary"
  ],
  "properties": {
    "score": {
      "type": "number",
      "description": "0-100, higher = fewer issues"
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "rule",
          "message",
          "position",
          "suggestion"
        ],
        "properties": {
          "rule": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "position": {
            "type": "number"
          },
          "suggestion": {
            "type": "string"
          }
        }
      }
    },
    "summary": {
      "type": "string"
    }
  }
}