create_rest_message
Define outbound REST messages with endpoint, authentication, and mutual TLS settings to enable API integrations in ServiceNow.
Instructions
Create a new outbound REST Message definition (requires WRITE_ENABLED=true)
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": {
"name": "<name>",
"endpoint": "<endpoint>"
},
"name": "create_rest_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique REST Message name | |
| endpoint | Yes | Base URL endpoint (e.g. "https://api.example.com/v1") | |
| description | No | Purpose/description of this integration | |
| use_mutual_auth | No | Whether to use mutual TLS authentication | |
| authentication_type | No | Auth type: "no_authentication", "basic", "oauth2" |