{"id":"url-query-build","version":"1.0.0","description":"Build a query string or replace an absolute URL query from ordered pairs. No fetching.","supported_operations":["url query build","build query string","encode search params"],"unsupported_operations":["fetch","form multipart"],"semantics":["pairs is an ordered list of {name,value} strings, max 512. Names and values are strings; encode via WHATWG URLSearchParams.","If url is omitted, return { query } without a leading ? (empty pairs -> empty string).","If url is present, it must be an absolute URL; replace its search with the pairs and optionally set fragment (without #). Return { url: href }.","fragment optional string without #. If omitted and url present, keep existing fragment unless fragment is provided as empty string (strip)."],"limits":{"max_url_bytes":8192,"max_query_pairs":512},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["pairs"],"properties":{"pairs":{"type":"array","maxItems":512,"items":{"type":"object","additionalProperties":false,"required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}}},"url":{"type":"string","maxLength":8192},"fragment":{"type":"string","maxLength":8192}}},"output_schema":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"url":{"type":"string"}}},"examples":[{"input":{"pairs":[{"name":"a","value":"1"},{"name":"b","value":"x y"}]},"output":{"query":"a=1&b=x+y"}}],"execute_url":"/v1/tools/url-query-build/versions/1.0.0/execute"}