This command granits a favor from your character to the character with the specified ID (i.e. you own them a favor).
The syntax for the favor_grant command is as follows:
favor_grant [character id]
This command has the following arguments:
|Character ID||The ID of the character you wish for your character to owe a favor to. How to find character IDs: commands.gg/ck2/blog/console-help#charids.|
Find below working examples of the favor_grant command.
This console command would make your character owe the character with character ID 4855 a favor.
The above command would make your character owe the character with ID 10845 a favor.