Hi,
You can create a TACACS+ dictionary and with the attribute cisco-av-pair and return the attribute with the required value through an enforcement. Export one of the existing TACACS+ dictionary and follow a similar format to create a new one.
You could work with TAC and get assistance with the TACACS+ dictionary if needed.