Execute command /[command] in the name of [entity] and get result

Execute command /[command] in the name of [entity] and get result. Procedure block in the entity category. It gives back a text value.

Execute command /command in the name of entityS and get result
Category
Entity
Block type
Value block (plugs into another block)
Returns
Text
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
commandPlug-in valueString
entityPlug-in valueEntity