train_model
Starts a training run. Training is asynchronous: this returns a run id, then poll get_model_results.
What it needs
| Argument | Type | Required | Description |
|---|---|---|---|
model_id | string | Yes | |
preview | boolean | No |
What it returns
The id and status of the training run just queued, whether it is a preview run, and the model's validation state at the moment it was started.
Credential
An app session token, from an authenticated app.ax1om.ai session. Call it with only an API key and you get a plain refusal saying so, rather than a confusing 401.
Network call: yes. The full credential split is on authentication.
Example call
Most readers never write the protocol themselves: the agent does, once the server is connected. Both forms are the same call.
Use the ax1om MCP server.Call train_model: starts a training run.{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "train_model", "arguments": {} }}The arguments object is whatever this tool's own input schema declares. An MCP client reads that schema from the server, so it is the server that answers for the exact shape rather than this page.
Notes
- Asynchronous by design. Poll get_model_results rather than waiting on the call.