code_executor
Execute code snippets and programming tasks using Grok's AI models to test, debug, or demonstrate functionality directly within conversations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| model | No | grok-4-1-fast | |
| max_turns | No |