build_url
Construct an HTTP/HTTPS URL by combining a base URL, an optional path segment, and query parameters for consistent request links.
Instructions
Construct a URL from a base URL, an appended path, and optional query parameters.
Args: base_url: Base http/https URL. path: Path segment to append. query: Optional dict of query parameters to encode and attach.
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": {
"base_url": "<base_url>"
},
"name": "build_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| query | No | ||
| base_url | Yes |