MorphTools provides advanced code editing capabilities using Morph’s Fast Apply API for intelligent code modifications.
Parameter | Type | Default | Description |
---|---|---|---|
api_key | Optional[str] | None | Morph API key. Uses MORPH_API_KEY if not set. |
base_url | str | "https://api.morphllm.com/v1" | Morph API base URL. |
model | str | "morph-v3-large" | Morph model to use for code editing. |
instructions | Optional[str] | None | Custom instructions for code editing behavior. |
add_instructions | bool | True | Whether to add instructions to the agent. |
Function | Description |
---|---|
edit_file | Apply intelligent code modifications using Morph’s Fast Apply API. |