curl -X POST https://hitheo.ai/api/v1/skills/create \
-H "Authorization: Bearer $THEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Inventory Check",
"slug": "inventory-check",
"category": "automation",
"system_prompt_ext": "You are an inventory specialist. Use check_stock to look up levels.",
"description": "Real-time inventory lookup and reorder alerts",
"tool_definitions": [
{
"name": "check_stock",
"description": "Look up current stock levels for a SKU",
"inputSchema": {
"type": "object",
"properties": { "sku": { "type": "string" } },
"required": ["sku"]
}
}
]
}'