code: def modify_agent(self, agent_id, **kwargs):
          '''
          modify_agent(self, agent_id, **kwargs)
  
          | Modifies agent information (like name)
  
          :Parameters:
          * *agent_id* (`string`) -- Identifier of an existing agent
  
           :Example:
          .. code-block:: python
  
             opereto_client = OperetoClient()
             opereto_client.modify_agent('agentId', name='my new name')
  
          '''
          request_data = {'id': agent_id}
          request_data.update(**kwargs)
          return self._call_rest_api('post', '/agents'+'', data=request_data, error='Failed to modify agent [%s]'%agent_idf modify_agent(self, agent_id, **kwargs):
          '''
          modify_agent(self, agent_id, **kwargs)
  
          | Modifies agent information (like name)
  
          :Parameters:
          * *agent_id* (`string`) -- Identifier of an existing agent
  
           :Example:
          .. code-block:: python
  
             opereto_client = OperetoClient()
             opereto_client.modify_agent('agentId', name='my new name')
  
          '''
          request_data = {'id': agent_id}
          request_data.update(**kwargs)
          return self._call_rest_api('post', '/agents'+'', data=request_data, error='Failed to modify agent [%s]'%agent_id)
docs: modify_agent(self, agent_id, **kwargs)
  
          | Modifies agent information (like name)
  
          :Parameters:
          * *agent_id* (`string`) -- Identifier of an existing agent
  
           :Example:
          .. code-block:: python
  
             opereto_client = OperetoClient()
             opereto_client.modify_agent('agentId', name='my new name')