Files
html/api/wired-pending/intent-opus4-create_tool.php

19 lines
1.0 KiB
PHP

<?php
return array (
'name' => 'create_tool',
'triggers' => array (
0 => 'create tool',
1 => 'cree tool',
2 => 'creer tool',
3 => 'new tool',
4 => 'auto-wire tool',
5 => 'create intent',
6 => 'cree intent',
),
'cmd' => 'echo "WEVIA create_tool auto-wire workflow: (1) POST /api/wevia-safe-write.php avec JSON payload {name, triggers, cmd, status, description} (2) Fichier cree dans /api/wired-pending/intent-opus4-NAME.php (3) Status EXECUTED pour activation immediate (4) V2 dispatcher specificity scoring: longest trigger wins (5) Test via chat: le trigger doit correspondre au message user (6) Alternative: POST /api/wevia-auto-intent.php?action=propose pour proposer sans creer. Endpoint actifs: wevia-safe-write, wevia-auto-intent, wevia-master-api. Propositions pending via ?action=list"',
'status' => 'EXECUTED',
'created_at' => '2026-04-21T10:30:00+00:00',
'source' => 'opus-v99-proposal-promoted',
'description' => 'Helper pour auto-creation de nouveaux tools/intents via safe-write API',
);