Design
Génère des propriétés de rayon de bordure CSS
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/border-radius-generator' \
-H 'Content-Type: application/json' \
-d '{"uniform":false,"topLeft":8,"topRight":8,"bottomRight":8,"bottomLeft":8}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/border-radius-generator| Nom | Type | Requis | Description |
|---|---|---|---|
| uniform | checkbox | Non | — |
| topLeft | range | Oui | — |
| topRight | range | Oui | — |
| bottomRight | range | Oui | — |
| bottomLeft | range | Oui | — |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-border-radius-generator": {
"name": "border-radius-generator",
"description": "Génère des propriétés de rayon de bordure CSS",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=border-radius-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "border-radius-generator",
"arguments": {
"uniform": false,
"topLeft": 8,
"topRight": 8,
"bottomRight": 8,
"bottomLeft": 8
}
}
}Des questions ou un problème ? Contactez [email protected]
Résultat texte
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}