{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Enable or disable a Worker script on the workers.dev subdomain.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/workers_identifier"},"script_name":{"$ref":"#/definitions/workers_script_name"}},"required":["account_id","script_name"],"additionalProperties":false},"body":{"type":"object","properties":{"enabled":{"description":"Whether the Worker should be available on the workers.dev subdomain.","type":"boolean","examples":[true]},"previews_enabled":{"description":"Whether the Worker's Preview URLs should be available on the workers.dev subdomain.","type":"boolean","examples":[false]}},"required":["enabled"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"workers_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"workers_script_name":{"description":"Name of the script.","type":"string","pattern":"^[a-z0-9_][a-z0-9-_]*$","examples":["this-is_my_script-01"]}}},"name":"Update Worker Script Subdomain","id":"cloudflare.worker-script-post-subdomain","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","script_name":"this-is_my_script-01"},"body":{"enabled":true}},"maxRequests":1,"summary":false}}