Custom tool input format: text, or grammar with a definition and syntax.
Grammar required when type is grammar.
Text or grammar.