create_directory_item
Create a new directory item.
Args: project_id: The project ID. collection_id: The collection ID. name: Item name. slug: URL-safe slug. fields: JSON object mapping field_id to value.
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": {
"project_id": "<project_id>",
"collection_id": "<collection_id>",
"name": "<name>",
"slug": "<slug>"
},
"name": "create_directory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | Yes | ||
| fields | No | {} | |
| project_id | Yes | ||
| collection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |