create_article
Create a new Article in Django admin with required title, content, and author, plus optional inline rows. Specify data and inlines; any inline error rejects the whole call.
Instructions
Create a new Article, optionally with inline rows.
Date and datetime fields take a single ISO 8601 string (e.g. '2026-03-01' or '2026-03-01T09:30:00Z'). Foreign keys take the related object's ID, many-to-many fields a list of IDs. A field the admin form does not accept (unknown, read-only or non-editable) is rejected with an error, never ignored.
Fields:
id (BigAutoField)
title (CharField) [required]
content (TextField) [required]
author (ForeignKey) [required]
published_date (DateTimeField)
is_published (BooleanField)
created_at (DateTimeField)
updated_at (DateTimeField)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<data>"
},
"name": "create_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The data for the new Article | |
| inlines | No | Inline rows to create with the object, keyed by inline model name: {model_name: [{data}, ...]}. All-or-nothing: any inline error rejects the whole call and nothing is saved |