Apply changes from big models into your files. Find your API key.
grep, read, list_directory, finish) to navigate and locate code, returning precise file locations with line ranges.
| Model | Description |
|---|---|
morph-warp-grep-v1 | Agentic code search with 4-turn max, 8 parallel tool calls per turn |
list_directory at depth 2| Tool | Purpose | Key Elements |
|---|---|---|
grep | Search with regex | <pattern>, <sub_dir>, <glob> |
read | Read file contents | <path>, <lines> |
list_directory | Show directory tree | <path>, <pattern> |
finish | Return final results | <file> with <path> and <lines> |
finish, it returns file locations:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Code update request
ID of the model to use
morph-v3-fast, morph-v3-large, auto "morph-v3-fast"
Array containing a single user message with structured content using instruction-guided format
Enable streaming response
false
Maximum number of tokens to generate
150
Sampling temperature (0.0 for deterministic output)
0
Chat completion response
Unique identifier for the completion
"chatcmpl-123"
Object type
"chat.completion"
Unix timestamp of when the completion was created
1677652288
List of completion choices
Usage statistics for the completion request