code: def runs_tag(
      runs=None,
      add=None,
      remove=None,
      clear=False,
      sync_labels=False,
      list_all=False,
      cwd=".",
      guild_home=None,
      **kw,
  ):
      from guild import click_util
      from guild.commands import runs_impl
      from guild.commands import runs_tag
  
      args = click_util.Args(
          runs=_run_ids(runs),
          add=_coerce_list(add),
          delete=_coerce_list(remove),
          clear=clear,
          sync_labels=sync_labels,
          list_all=list_all,
          remote=False,
          yes=True,
      )
      _apply_runs_filters(kw, args)
      _apply_remote(kw, args)
      _assert_empty_kw(kw, "runs_tag()")
      ctx = runs_tag.tag_runs.make_context("", [])
      with Env(cwd, guild_home):
          runs_impl.tag(args, ctx)
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 17 for calling a global function with example usage: runs_tag(runs, add, remove, clear, sync_labels, list_all, cwd, guild_home) without return types