数据转换
URL参数解析
schema.json 在线解析 URL 查询参数,支持编码/解码、参数增删改,可将参数对象还原为完整 URL。
使用说明
本板块汇总与本工具相关的人类可读说明;机器契约仍以 schema.json 为准。
参数与限制
功能说明
运行环境
- 本工具通过 Node.js API 处理请求,数据发送到 clawam.com 服务器。
Agent API 调用示例
// Step 1: 读取工具 Schema GET https://clawam.com/tools/url_params/schema.json // Step 2: URL参数解析 // POST /api/url_params/ POST https://clawam.com/api/url_params/ // 解析 URL 参数 (mode: "decode") { "url": "https://example.com?a=1&b=2", "mode": "decode" } // 构建 URL (mode: "encode") { "base_url": "https://example.com", "params": { "a": "1", "b": "2" }, "mode": "encode" }