| name | console-log |
| description | Logs a message to the console. |
Logs a message to the console.
Logs a message to the console.
How to Call
HTTP API (Direct Tool Execution)
Execute this tool directly via the MCP Plugin HTTP API:
curl -X POST http://localhost:8080/api/tools/console-log \
-H "Content-Type: application/json" \
-d '{
"message": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use -d @args.json.
Or pipe via stdin:
curl -X POST ${HOST}/api/tools/console-log -H "Content-Type: application/json" -d @- <<'EOF'
{"param": "value"}
EOF
With Authorization (if required)
curl -X POST http://localhost:8080/api/tools/console-log \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"message": "string_value"
}'
Input
| Name | Type | Required | Description |
|---|
message | string | Yes | |
Input JSON Schema
{
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
]
}
Output
This tool does not return structured output.