How do I set "intent_script" for an automation

Hello everyone.

I am trying to create the automation with camera live view functionality, and struggling with YAML code. Now I tested and faced the issue like “intent_script not found” in Action tab within Developer tools.
Could you check with the below code what is the problem in my code ?

・configuration.yaml

intent_script:
  LIVE_VIEW_TEST:
    speech:
      text: "Live View TEST..."
    action:
      - service: browser_mod.popup
        data:
          title: "Live View"
          content:
            type: picture-entity
            entity: camera.test_live_view
          large: true

I am kinda new to YAML code, so it would be helpful if you give me the details with the explanation…

thank you