Can we add a action to already defined leaf in list through clispec

hi,
i have data model as follows
container a1
{
container a2{
list l1{
key “id”;
leaf id{ // i want to add action here through clispec
type string:
}
}
}
}
i want to add action to already existing data model through clispec.
i dont want to add new cmd inside the list. i want to add it to existing leave.
can i do this ?
plz suggest any way…

You cannot add a custom CLI command to a leaf inside of a list. You can only specify custom CLI commands for leaves outside of a list or names of containers and lists.