mlx
Check availability, get hardware info, list recommended models, or generate text using Apple Silicon GPU acceleration.
Instructions
[HINT: MLX. action=status|hardware|models|generate. Unified MLX tool.]
Unified MLX tool for Apple Silicon GPU acceleration.
Actions:
action="status": Check if MLX is available
action="hardware": Get hardware info and recommended settings
action="models": List recommended MLX models
action="generate": Generate text with MLX
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mlx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status | |
| prompt | No | ||
| model | No | mlx-community/Phi-3.5-mini-instruct-4bit | |
| max_tokens | No | ||
| temperature | No | ||
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |